citus/src/backend/distributed/planner
Murat Tuncer 1424f75ec9 Support columns referencing an aliased joins
We used to rely on PG function flatten_join_alias_vars
to resolve actual columns referenced in target entry list.

The function goes deep and finds the actual relation. This logic
usually works fine. However, when joins are given an alias, inner
relation names are not visible to target entry entry. Thus relation
resolving should stop when we the target entry column refers an
rte of an aliased join.

We stopped using PG function and provided our own flatten function.
2019-03-26 09:46:22 +03:00
..
deparse_shard_query.c ApplyLogRedaction noop func is added 2018-08-17 14:48:54 -07:00
distributed_planner.c Speed up RTE walkers 2019-03-20 12:14:46 +03:00
extended_op_node_utils.c Expand count distinct support 2018-07-06 09:44:20 +03:00
fast_path_router_planner.c Apply feedback 2019-02-22 18:14:30 +03:00
insert_select_planner.c Support INSERT...SELECT with ON CONFLICT or RETURNING via coordinator 2018-11-30 15:29:12 +03:00
multi_explain.c Cache the current database name 2019-03-20 12:14:46 +03:00
multi_join_order.c Plan outer joins through pushdown planning 2019-01-05 20:55:27 +01:00
multi_logical_optimizer.c Remove 9.6 (#2554) 2019-01-16 13:11:24 -07:00
multi_logical_planner.c Speed up RTE walkers 2019-03-20 12:14:46 +03:00
multi_master_planner.c Fix getting function oid to get hll_add_agg id 2018-12-10 14:16:19 +03:00
multi_physical_planner.c Add nodeId to shardPlacements and use it for shard placement comparisons 2019-03-20 12:14:46 +03:00
multi_router_planner.c Only look in top-level rtable in ExtractFirstDistributedTableId 2019-03-20 12:14:46 +03:00
planner_readme.md Introduce fast path router planning 2019-02-21 13:27:01 +03:00
postgres_planning_functions.c Add select distinct, and distinct on support 2017-10-13 14:59:48 +03:00
query_colocation_checker.c Some queries lead to infinite recursion with recurisve planning 2019-03-18 10:35:00 +03:00
query_pushdown_planning.c Support columns referencing an aliased joins 2019-03-26 09:46:22 +03:00
recursive_planning.c More documentation and stale comments rewritten 2019-02-04 20:21:51 +03:00
relation_restriction_equivalence.c Prevent excessive number of unnecessary range table traversal 2018-08-22 11:45:00 +03:00
shard_pruning.c Code review feedback 2019-03-25 22:07:27 -05:00