33 bool include_inner_joins);
void preprocess_function_rtes(PlannerInfo *root)
PlanRowMark * get_plan_rowmark(List *rowmarks, Index rtindex)
void preprocess_targetlist(PlannerInfo *root)
void flatten_simple_union_all(PlannerInfo *root)
void transform_MERGE_to_join(Query *parse)
void remove_useless_result_rtes(PlannerInfo *root)
void get_agg_clause_costs(PlannerInfo *root, AggSplit aggsplit, AggClauseCosts *costs)
void pull_up_sublinks(PlannerInfo *root)
void replace_empty_jointree(Query *parse)
Relids get_relids_for_join(Query *query, int joinrelid)
void pull_up_subqueries(PlannerInfo *root)
Relids get_relids_in_jointree(Node *jtnode, bool include_outer_joins, bool include_inner_joins)
bool set_operation_ordered_results_useful(SetOperationStmt *setop)
RelOptInfo * plan_set_operations(PlannerInfo *root)
void reduce_outer_joins(PlannerInfo *root)
void preprocess_aggrefs(PlannerInfo *root, Node *clause)
List * extract_update_targetlist_colnos(List *tlist)
static struct subre * parse(struct vars *v, int stopper, int type, struct state *init, struct state *final)