1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-27 00:12:01 +03:00

Clean up problems with sublinks + grouping in planner. Not

sure if they are all fixed, because rewriter is now the stumbling block,
but at least some cases work that did not work before.
This commit is contained in:
Tom Lane
1999-06-21 01:20:57 +00:00
parent 974bdd94f9
commit fd8e580bb7
3 changed files with 85 additions and 76 deletions

View File

@@ -8,10 +8,9 @@
#define SUBSELECT_H
extern int PlannerQueryLevel; /* level of current query */
extern List *PlannerVarParam; /* correlation Vars to Param mapper */
extern List *PlannerParamVar; /* to get Var from Param->paramid */
extern List *PlannerInitPlan; /* init subplans for current query */
extern int PlannerPlanId; /* to assigne unique ID to subquery plans */
extern List *PlannerParamVar; /* to get Var from Param->paramid */
extern int PlannerPlanId; /* to assign unique ID to subquery plans */
extern List *SS_finalize_plan(Plan *plan);
extern Node *SS_replace_correlation_vars(Node *expr);