PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pgpa_planner.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void pgpa_planner_install_hooks (void)
 

Variables

int pgpa_planner_generate_advice
 

Function Documentation

◆ pgpa_planner_install_hooks()

void pgpa_planner_install_hooks ( void  )
extern

Definition at line 226 of file pgpa_planner.c.

227{
239}
int GetPlannerExtensionId(const char *extension_name)
Definition extendplan.c:41
join_path_setup_hook_type join_path_setup_hook
Definition joinpath.c:32
static void pgpa_planner_shutdown(PlannerGlobal *glob, Query *parse, const char *query_string, PlannedStmt *pstmt)
static planner_setup_hook_type prev_planner_setup
static joinrel_setup_hook_type prev_joinrel_setup
static build_simple_rel_hook_type prev_build_simple_rel
static void pgpa_build_simple_rel(PlannerInfo *root, RelOptInfo *rel, RangeTblEntry *rte)
static void pgpa_planner_setup(PlannerGlobal *glob, Query *parse, const char *query_string, int cursorOptions, double *tuple_fraction, ExplainState *es)
static planner_shutdown_hook_type prev_planner_shutdown
static int planner_extension_id
static void pgpa_join_path_setup(PlannerInfo *root, RelOptInfo *joinrel, RelOptInfo *outerrel, RelOptInfo *innerrel, JoinType jointype, JoinPathExtraData *extra)
static void pgpa_joinrel_setup(PlannerInfo *root, RelOptInfo *joinrel, RelOptInfo *outerrel, RelOptInfo *innerrel, SpecialJoinInfo *sjinfo, List *restrictlist)
static join_path_setup_hook_type prev_join_path_setup
planner_shutdown_hook_type planner_shutdown_hook
Definition planner.c:80
planner_setup_hook_type planner_setup_hook
Definition planner.c:77
joinrel_setup_hook_type joinrel_setup_hook
Definition relnode.c:54
build_simple_rel_hook_type build_simple_rel_hook
Definition relnode.c:51

References build_simple_rel_hook, GetPlannerExtensionId(), join_path_setup_hook, joinrel_setup_hook, pgpa_build_simple_rel(), pgpa_join_path_setup(), pgpa_joinrel_setup(), pgpa_planner_setup(), pgpa_planner_shutdown(), planner_extension_id, planner_setup_hook, planner_shutdown_hook, prev_build_simple_rel, prev_join_path_setup, prev_joinrel_setup, prev_planner_setup, and prev_planner_shutdown.

Referenced by _PG_init().

Variable Documentation

◆ pgpa_planner_generate_advice

int pgpa_planner_generate_advice
extern

Definition at line 146 of file pgpa_planner.c.

Referenced by pg_plan_advice_request_advice_generation(), and pgpa_planner_setup().