PostgreSQL Source Code git master
Loading...
Searching...
No Matches
PlannerInfo Struct Reference

#include <pathnodes.h>

Public Member Functions

 pg_node_attr (no_copy_equal, no_read, no_query_jumble) NodeTag type
 
PlannerInfo *parent_root pg_node_attr (read_write_ignore)
 
struct RelOptInfo **simple_rel_array pg_node_attr (array_size(simple_rel_array_size))
 
RangeTblEntry **simple_rte_array pg_node_attr (read_write_ignore)
 
struct AppendRelInfo **append_rel_array pg_node_attr (read_write_ignore)
 
struct HTAB *join_rel_hash pg_node_attr (read_write_ignore)
 
List **join_rel_level pg_node_attr (read_write_ignore)
 
struct PlaceHolderInfo **placeholder_array pg_node_attr (read_write_ignore, array_size(placeholder_array_size))
 
int placeholder_array_size pg_node_attr (read_write_ignore)
 
List *part_schemes pg_node_attr (read_write_ignore)
 
List *initial_rels pg_node_attr (read_write_ignore)
 
List *upper_rels[UPPERREL_FINAL+1] pg_node_attr (read_write_ignore)
 
struct PathTarget *upper_targets[UPPERREL_FINAL+1] pg_node_attr (read_write_ignore)
 
AttrNumber *grouping_map pg_node_attr (read_write_ignore)
 
MemoryContext planner_cxt pg_node_attr (read_write_ignore)
 
bool *isAltSubplan pg_node_attr (read_write_ignore)
 
bool *isUsedSubplan pg_node_attr (read_write_ignore)
 
void **extension_state pg_node_attr (read_write_ignore)
 

Data Fields

Queryparse
 
PlannerGlobalglob
 
Index query_level
 
charplan_name
 
Listplan_params
 
Bitmapsetouter_params
 
int simple_rel_array_size
 
Relids all_baserels
 
Relids outer_join_rels
 
Relids all_query_rels
 
Listjoin_rel_list
 
int join_cur_level
 
Listinit_plans
 
Listcte_plan_ids
 
Listmultiexpr_params
 
Listjoin_domains
 
Listeq_classes
 
bool ec_merging_done
 
Listcanon_pathkeys
 
Listleft_join_clauses
 
Listright_join_clauses
 
Listfull_join_clauses
 
Listjoin_info_list
 
int last_rinfo_serial
 
Relids all_result_relids
 
Relids leaf_result_relids
 
Listappend_rel_list
 
Listrow_identity_vars
 
ListrowMarks
 
Listplaceholder_list
 
Listagg_clause_list
 
Listgroup_expr_list
 
Listtlist_vars
 
Listfkey_list
 
Listquery_pathkeys
 
Listgroup_pathkeys
 
int num_groupby_pathkeys
 
Listwindow_pathkeys
 
Listdistinct_pathkeys
 
Listsort_pathkeys
 
Listsetop_pathkeys
 
Listprocessed_groupClause
 
Listprocessed_distinctClause
 
Listprocessed_tlist
 
Listupdate_colnos
 
Listminmax_aggs
 
Cardinality total_table_pages
 
Selectivity tuple_fraction
 
Cardinality limit_tuples
 
Index qual_security_level
 
bool hasJoinRTEs
 
bool hasLateralRTEs
 
bool hasHavingQual
 
bool hasPseudoConstantQuals
 
bool hasAlternativeSubPlans
 
bool placeholdersFrozen
 
bool hasRecursion
 
bool assumeReplanning
 
int group_rtindex
 
Listagginfos
 
Listaggtransinfos
 
int numOrderedAggs
 
bool hasNonPartialAggs
 
bool hasNonSerialAggs
 
int wt_param_id
 
struct Pathnon_recursive_path
 
Relids curOuterRels
 
ListcurOuterParams
 
ListpartPruneInfos
 
int extension_state_allocated
 

Detailed Description

Definition at line 296 of file pathnodes.h.

Member Function Documentation

◆ pg_node_attr() [1/18]

◆ pg_node_attr() [2/18]

PlannerInfo::pg_node_attr ( no_copy_equal  ,
no_read  ,
no_query_jumble   
)

◆ pg_node_attr() [3/18]

PlannerInfo *parent_root PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [4/18]

RangeTblEntry **simple_rte_array PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [5/18]

struct AppendRelInfo **append_rel_array PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [6/18]

struct HTAB *join_rel_hash PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [7/18]

List **join_rel_level PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [8/18]

int placeholder_array_size PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [9/18]

List *part_schemes PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [10/18]

List *initial_rels PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [11/18]

List *upper_rels[UPPERREL_FINAL+1] PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [12/18]

struct PathTarget *upper_targets[UPPERREL_FINAL+1] PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [13/18]

AttrNumber *grouping_map PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [14/18]

MemoryContext planner_cxt PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [15/18]

bool *isAltSubplan PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [16/18]

bool *isUsedSubplan PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [17/18]

void **extension_state PlannerInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [18/18]

Field Documentation

◆ agg_clause_list

List* PlannerInfo::agg_clause_list

Definition at line 481 of file pathnodes.h.

◆ agginfos

List* PlannerInfo::agginfos

Definition at line 637 of file pathnodes.h.

Referenced by build_minmax_path().

◆ aggtransinfos

List* PlannerInfo::aggtransinfos

Definition at line 639 of file pathnodes.h.

Referenced by build_minmax_path().

◆ all_baserels

Relids PlannerInfo::all_baserels

Definition at line 359 of file pathnodes.h.

◆ all_query_rels

Relids PlannerInfo::all_query_rels

Definition at line 373 of file pathnodes.h.

◆ all_result_relids

Relids PlannerInfo::all_result_relids

Definition at line 458 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ append_rel_list

List* PlannerInfo::append_rel_list

Definition at line 469 of file pathnodes.h.

Referenced by build_minmax_path(), and pull_up_simple_subquery().

◆ assumeReplanning

bool PlannerInfo::assumeReplanning

Definition at line 625 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ canon_pathkeys

List* PlannerInfo::canon_pathkeys

Definition at line 424 of file pathnodes.h.

◆ cte_plan_ids

List* PlannerInfo::cte_plan_ids

Definition at line 409 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ curOuterParams

List* PlannerInfo::curOuterParams

Definition at line 661 of file pathnodes.h.

◆ curOuterRels

Relids PlannerInfo::curOuterRels

Definition at line 659 of file pathnodes.h.

◆ distinct_pathkeys

List* PlannerInfo::distinct_pathkeys

Definition at line 513 of file pathnodes.h.

◆ ec_merging_done

bool PlannerInfo::ec_merging_done

Definition at line 421 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ eq_classes

List* PlannerInfo::eq_classes

Definition at line 418 of file pathnodes.h.

Referenced by build_minmax_path(), and pull_up_simple_subquery().

◆ extension_state_allocated

int PlannerInfo::extension_state_allocated

Definition at line 677 of file pathnodes.h.

◆ fkey_list

List* PlannerInfo::fkey_list

Definition at line 495 of file pathnodes.h.

◆ full_join_clauses

List* PlannerInfo::full_join_clauses

Definition at line 441 of file pathnodes.h.

◆ glob

◆ group_expr_list

List* PlannerInfo::group_expr_list

Definition at line 484 of file pathnodes.h.

◆ group_pathkeys

List* PlannerInfo::group_pathkeys

Definition at line 501 of file pathnodes.h.

Referenced by minmax_qp_callback().

◆ group_rtindex

int PlannerInfo::group_rtindex

Definition at line 631 of file pathnodes.h.

Referenced by split_pathtarget_walker().

◆ hasAlternativeSubPlans

bool PlannerInfo::hasAlternativeSubPlans

Definition at line 619 of file pathnodes.h.

◆ hasHavingQual

bool PlannerInfo::hasHavingQual

Definition at line 615 of file pathnodes.h.

Referenced by build_minmax_path(), and build_setop_child_paths().

◆ hasJoinRTEs

bool PlannerInfo::hasJoinRTEs

Definition at line 611 of file pathnodes.h.

◆ hasLateralRTEs

bool PlannerInfo::hasLateralRTEs

Definition at line 613 of file pathnodes.h.

◆ hasNonPartialAggs

bool PlannerInfo::hasNonPartialAggs

Definition at line 643 of file pathnodes.h.

◆ hasNonSerialAggs

bool PlannerInfo::hasNonSerialAggs

Definition at line 645 of file pathnodes.h.

◆ hasPseudoConstantQuals

bool PlannerInfo::hasPseudoConstantQuals

Definition at line 617 of file pathnodes.h.

◆ hasRecursion

bool PlannerInfo::hasRecursion

Definition at line 623 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ init_plans

List* PlannerInfo::init_plans

Definition at line 403 of file pathnodes.h.

Referenced by build_minmax_path(), and pull_up_simple_subquery().

◆ join_cur_level

int PlannerInfo::join_cur_level

Definition at line 400 of file pathnodes.h.

◆ join_domains

List* PlannerInfo::join_domains

Definition at line 415 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ join_info_list

List* PlannerInfo::join_info_list

Definition at line 444 of file pathnodes.h.

Referenced by build_minmax_path(), and pull_up_simple_subquery().

◆ join_rel_list

List* PlannerInfo::join_rel_list

Definition at line 384 of file pathnodes.h.

◆ last_rinfo_serial

int PlannerInfo::last_rinfo_serial

Definition at line 447 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ leaf_result_relids

Relids PlannerInfo::leaf_result_relids

Definition at line 460 of file pathnodes.h.

Referenced by adjust_appendrel_attrs_mutator(), and pull_up_simple_subquery().

◆ left_join_clauses

List* PlannerInfo::left_join_clauses

Definition at line 430 of file pathnodes.h.

◆ limit_tuples

Cardinality PlannerInfo::limit_tuples

Definition at line 602 of file pathnodes.h.

Referenced by build_minmax_path(), and build_setop_child_paths().

◆ minmax_aggs

List* PlannerInfo::minmax_aggs

Definition at line 591 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ multiexpr_params

List* PlannerInfo::multiexpr_params

Definition at line 412 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ non_recursive_path

struct Path* PlannerInfo::non_recursive_path

Definition at line 653 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ num_groupby_pathkeys

int PlannerInfo::num_groupby_pathkeys

Definition at line 508 of file pathnodes.h.

◆ numOrderedAggs

int PlannerInfo::numOrderedAggs

Definition at line 641 of file pathnodes.h.

◆ outer_join_rels

Relids PlannerInfo::outer_join_rels

Definition at line 365 of file pathnodes.h.

◆ outer_params

Bitmapset* PlannerInfo::outer_params

Definition at line 325 of file pathnodes.h.

Referenced by build_minmax_path(), finalize_plan(), and pull_up_simple_subquery().

◆ parse

◆ partPruneInfos

List* PlannerInfo::partPruneInfos

Definition at line 673 of file pathnodes.h.

◆ placeholder_list

List* PlannerInfo::placeholder_list

Definition at line 478 of file pathnodes.h.

Referenced by build_minmax_path(), and pull_up_simple_subquery().

◆ placeholdersFrozen

bool PlannerInfo::placeholdersFrozen

Definition at line 621 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ plan_name

char* PlannerInfo::plan_name

◆ plan_params

List* PlannerInfo::plan_params

Definition at line 324 of file pathnodes.h.

Referenced by build_minmax_path(), and pull_up_simple_subquery().

◆ processed_distinctClause

List* PlannerInfo::processed_distinctClause

Definition at line 564 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ processed_groupClause

List* PlannerInfo::processed_groupClause

Definition at line 552 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ processed_tlist

List* PlannerInfo::processed_tlist

Definition at line 575 of file pathnodes.h.

Referenced by build_minmax_path(), pull_up_simple_subquery(), and recurse_set_operations().

◆ qual_security_level

Index PlannerInfo::qual_security_level

Definition at line 608 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ query_level

Index PlannerInfo::query_level

Definition at line 309 of file pathnodes.h.

Referenced by build_minmax_path(), and pull_up_simple_subquery().

◆ query_pathkeys

List* PlannerInfo::query_pathkeys

Definition at line 498 of file pathnodes.h.

Referenced by build_minmax_path().

◆ right_join_clauses

List* PlannerInfo::right_join_clauses

Definition at line 436 of file pathnodes.h.

◆ row_identity_vars

List* PlannerInfo::row_identity_vars

Definition at line 472 of file pathnodes.h.

Referenced by adjust_appendrel_attrs_mutator(), and pull_up_simple_subquery().

◆ rowMarks

List* PlannerInfo::rowMarks

Definition at line 475 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ setop_pathkeys

List* PlannerInfo::setop_pathkeys

Definition at line 517 of file pathnodes.h.

Referenced by build_setop_child_paths().

◆ simple_rel_array_size

int PlannerInfo::simple_rel_array_size

Definition at line 336 of file pathnodes.h.

◆ sort_pathkeys

List* PlannerInfo::sort_pathkeys

Definition at line 515 of file pathnodes.h.

◆ tlist_vars

List* PlannerInfo::tlist_vars

Definition at line 487 of file pathnodes.h.

◆ total_table_pages

Cardinality PlannerInfo::total_table_pages

Definition at line 597 of file pathnodes.h.

◆ tuple_fraction

Selectivity PlannerInfo::tuple_fraction

Definition at line 600 of file pathnodes.h.

Referenced by build_minmax_path().

◆ update_colnos

List* PlannerInfo::update_colnos

Definition at line 583 of file pathnodes.h.

Referenced by pull_up_simple_subquery().

◆ window_pathkeys

List* PlannerInfo::window_pathkeys

Definition at line 511 of file pathnodes.h.

◆ wt_param_id

int PlannerInfo::wt_param_id

Definition at line 651 of file pathnodes.h.

Referenced by pull_up_simple_subquery().


The documentation for this struct was generated from the following file: