citus/src
Marco Slot 2dfe17b75e Make count return 0 if all shards are pruned away
Before this change, count on a distributed returned NULL if all shards
were pruned away, because on the master we replace with count(..) call
with a sum(..) call to sum the counts from the shards. However, sum
returns NULL when there are no rows, whereas count is expected to return
0.
2016-09-29 20:27:26 +02:00
..
backend Make count return 0 if all shards are pruned away 2016-09-29 20:27:26 +02:00
include Directly register multi-shard callbacks in PG_init 2016-09-29 11:43:19 -06:00
test/regress Make count return 0 if all shards are pruned away 2016-09-29 20:27:26 +02:00