citus/src/backend/distributed
Philip Dubé 81cfa05d3d First phase of addressing HAVING subquery issues
Add failing tests, make changes to avoid crashes at least

Fix HAVING subquery pushdown ignoring reference table only subqueries,
also include HAVING in recursive planning

Given that we have a function IsDistributedTable which includes reference tables,
it seems best to have IsDistributedTableRTE & QueryContainsDistributedTableRTE
reflect that they do not include reference tables in their check

Similarly SublinkList's name should reflect that it only scans WHERE

contain_agg_clause asserts that we don't have SubLinks,
use contain_aggs_of_level as suggested by pg sourcecode
2020-03-09 17:58:30 +00:00
..
commands Rename LookupCitusTableCacheEntry to GetCitusTableCacheEntry, LookupLookupCitusTableCacheEntry back to LookupCitusTableCacheEntry 2020-03-08 14:08:23 +00:00
connection Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
deparser Refactor the deparsing of a CREATE EXTENSION to prevent NULL POINTER dereferences (#3518) 2020-03-04 16:47:07 +01:00
executor Create a variable SLOW_START_DISABLED (#3593) 2020-03-09 14:54:01 +03:00
master Rename LookupCitusTableCacheEntry to GetCitusTableCacheEntry, LookupLookupCitusTableCacheEntry back to LookupCitusTableCacheEntry 2020-03-08 14:08:23 +00:00
metadata Remove all GetWorkerNodeCount() references 2020-03-09 13:35:18 +03:00
planner First phase of addressing HAVING subquery issues 2020-03-09 17:58:30 +00:00
progress Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
relay Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
sql Refactor master query to be planned by postgres' planner (#3326) 2020-02-25 14:39:56 +01:00
test Rename LookupCitusTableCacheEntry to GetCitusTableCacheEntry, LookupLookupCitusTableCacheEntry back to LookupCitusTableCacheEntry 2020-03-08 14:08:23 +00:00
transaction Rename LookupCitusTableCacheEntry to GetCitusTableCacheEntry, LookupLookupCitusTableCacheEntry back to LookupCitusTableCacheEntry 2020-03-08 14:08:23 +00:00
utils add a utility to get shard oid from relation oid and shard id (#3596) 2020-03-09 15:50:29 +03:00
worker refactor around local group id checks 2020-03-05 20:20:41 +03:00
.gitignore Change SQL migration build process for easier reviews (#2951) 2019-09-13 18:44:27 +02:00
Makefile Fix Makefile so that it builds safestringlib correctly on OSX 2020-02-26 17:44:44 +01:00
citus.control Add missing pieces for version bump of #3482 (#3523) 2020-02-21 12:35:29 +01:00
shared_library_init.c Convert unsafe APIs to safe ones 2020-02-25 15:39:27 +01:00