PostgreSQL Source Code  git master
placeholder.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * placeholder.h
4  * prototypes for optimizer/util/placeholder.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/optimizer/placeholder.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PLACEHOLDER_H
15 #define PLACEHOLDER_H
16 
17 #include "nodes/pathnodes.h"
18 
19 
21  Relids phrels);
23  PlaceHolderVar *phv);
28  RelOptInfo *outer_rel, RelOptInfo *inner_rel,
29  SpecialJoinInfo *sjinfo);
31  int relid);
32 
33 #endif /* PLACEHOLDER_H */
bool contain_placeholder_references_to(PlannerInfo *root, Node *clause, int relid)
Definition: placeholder.c:464
PlaceHolderInfo * find_placeholder_info(PlannerInfo *root, PlaceHolderVar *phv)
Definition: placeholder.c:83
void add_placeholders_to_joinrel(PlannerInfo *root, RelOptInfo *joinrel, RelOptInfo *outer_rel, RelOptInfo *inner_rel, SpecialJoinInfo *sjinfo)
Definition: placeholder.c:373
void add_placeholders_to_base_rels(PlannerInfo *root)
Definition: placeholder.c:329
void fix_placeholder_input_needed_levels(PlannerInfo *root)
Definition: placeholder.c:300
PlaceHolderVar * make_placeholder_expr(PlannerInfo *root, Expr *expr, Relids phrels)
Definition: placeholder.c:54
void find_placeholders_in_jointree(PlannerInfo *root)
Definition: placeholder.c:185
tree ctl root
Definition: radixtree.h:1884
Definition: nodes.h:129