PostgreSQL Source Code
git master
|
#include <parsenodes.h>
Public Member Functions | |
pg_node_attr (custom_read_write) NodeTag type | |
Alias *alias | pg_node_attr (query_jumble_ignore) |
Alias *eref | pg_node_attr (query_jumble_ignore) |
char relkind | pg_node_attr (query_jumble_ignore) |
int rellockmode | pg_node_attr (query_jumble_ignore) |
Index perminfoindex | pg_node_attr (query_jumble_ignore) |
bool security_barrier | pg_node_attr (query_jumble_ignore) |
int joinmergedcols | pg_node_attr (query_jumble_ignore) |
List *joinaliasvars | pg_node_attr (query_jumble_ignore) |
List *joinleftcols | pg_node_attr (query_jumble_ignore) |
List *joinrightcols | pg_node_attr (query_jumble_ignore) |
Alias *join_using_alias | pg_node_attr (query_jumble_ignore) |
bool self_reference | pg_node_attr (query_jumble_ignore) |
List *coltypes | pg_node_attr (query_jumble_ignore) |
List *coltypmods | pg_node_attr (query_jumble_ignore) |
List *colcollations | pg_node_attr (query_jumble_ignore) |
Cardinality enrtuples | pg_node_attr (query_jumble_ignore) |
List *groupexprs | pg_node_attr (query_jumble_ignore) |
bool lateral | pg_node_attr (query_jumble_ignore) |
bool inFromCl | pg_node_attr (query_jumble_ignore) |
List *securityQuals | pg_node_attr (query_jumble_ignore) |
Data Fields | |
RTEKind | rtekind |
Oid | relid |
bool | inh |
struct TableSampleClause * | tablesample |
Query * | subquery |
JoinType | jointype |
List * | functions |
bool | funcordinality |
TableFunc * | tablefunc |
List * | values_lists |
char * | ctename |
Index | ctelevelsup |
char * | enrname |
Definition at line 1031 of file parsenodes.h.
RangeTblEntry::pg_node_attr | ( | custom_read_write | ) |
Alias* alias RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
Alias* eref RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
char relkind RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
int rellockmode RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
Index perminfoindex RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
bool security_barrier RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
int joinmergedcols RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
List* joinaliasvars RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
List* joinleftcols RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
List* joinrightcols RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
Alias* join_using_alias RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
bool self_reference RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
List* coltypes RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
List* coltypmods RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
List* colcollations RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
Cardinality enrtuples RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
List* groupexprs RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
bool lateral RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
bool inFromCl RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
List* securityQuals RangeTblEntry::pg_node_attr | ( | query_jumble_ignore | ) |
Index RangeTblEntry::ctelevelsup |
Definition at line 1198 of file parsenodes.h.
Referenced by addRangeTableEntryForCTE(), contain_outer_selfref_walker(), create_ctescan_plan(), create_worktablescan_plan(), examine_simple_variable(), expandRecordVariable(), get_name_for_var_field(), GetCTEForRTE(), IncrementVarSublevelsUp_walker(), inline_cte_walker(), searchRangeTableForRel(), set_cte_pathlist(), and set_worktable_pathlist().
char* RangeTblEntry::ctename |
Definition at line 1196 of file parsenodes.h.
Referenced by addRangeTableEntryForCTE(), create_ctescan_plan(), create_worktablescan_plan(), examine_simple_variable(), get_from_clause_item(), get_name_for_var_field(), get_rte_alias(), GetCTEForRTE(), inline_cte_walker(), searchRangeTableForRel(), set_cte_pathlist(), and set_worktable_pathlist().
char* RangeTblEntry::enrname |
Definition at line 1231 of file parsenodes.h.
Referenced by addRangeTableEntryForENR(), create_namedtuplestorescan_plan(), and searchRangeTableForRel().
bool RangeTblEntry::funcordinality |
Definition at line 1179 of file parsenodes.h.
Referenced by addRangeTableEntryForFunction(), create_functionscan_plan(), expandRTE(), get_from_clause_item(), get_rte_attribute_is_dropped(), inline_set_returning_function(), makeWholeRowVar(), preprocess_function_rtes(), process_function_rte_ref(), pull_up_constant_function(), and set_function_pathlist().
List* RangeTblEntry::functions |
Definition at line 1177 of file parsenodes.h.
Referenced by add_rte_to_flat_rtable(), addRangeTableEntryForFunction(), cost_functionscan(), create_functionscan_plan(), expandRTE(), extract_lateral_references(), get_from_clause_item(), get_rte_attribute_is_dropped(), inline_set_returning_function(), makeWholeRowVar(), preprocess_function_rtes(), process_function_rte_ref(), pull_up_constant_function(), range_table_entry_walker_impl(), range_table_mutator_impl(), replace_vars_in_jointree(), rewriteRuleAction(), set_function_size_estimates(), set_rel_consider_parallel(), set_relation_column_names(), and subquery_planner().
bool RangeTblEntry::inh |
Definition at line 1090 of file parsenodes.h.
Referenced by add_base_clause_to_rel(), add_other_rels_to_query(), add_rtes_to_flat_rtable(), addRangeTableEntry(), addRangeTableEntryForRelation(), addRTEPermissionInfo(), ApplyRetrieveRule(), btcostestimate(), build_simple_rel(), check_sql_fn_retval(), create_hashjoin_plan(), deparse_context_for(), dependencies_clauselist_selectivity(), distribute_row_identity_vars(), estimate_multivariate_ndistinct(), examine_simple_variable(), examine_variable(), expand_appendrel_subquery(), expand_inherited_rtentry(), expand_partitioned_rtentry(), expand_single_inheritance_child(), flatten_simple_union_all(), get_relation_foreign_keys(), LockViewRecurse_walker(), mcv_clauselist_selectivity(), pg_get_triggerdef_worker(), plan_cluster_use_sort(), plan_create_index_workers(), preprocess_minmax_aggregates(), preprocess_targetlist(), print_rt(), pull_up_simple_union_all(), relation_excluded_by_constraints(), remove_useless_groupby_columns(), rewriteTargetView(), set_rel_pathlist(), set_rel_size(), statext_mcv_clauselist_selectivity(), subquery_planner(), and transform_MERGE_to_join().
JoinType RangeTblEntry::jointype |
Definition at line 1151 of file parsenodes.h.
Referenced by addRangeTableEntryForJoin(), find_base_rel_ignore_join(), reduce_outer_joins_pass2(), subquery_planner(), and transform_MERGE_to_join().
Oid RangeTblEntry::relid |
Definition at line 1088 of file parsenodes.h.
Referenced by AcquireExecutorLocks(), AcquireRewriteLocks(), add_rte_to_flat_rtable(), add_rtes_to_flat_rtable(), addRangeTableEntry(), addRangeTableEntryForENR(), addRangeTableEntryForFunction(), addRangeTableEntryForJoin(), addRangeTableEntryForRelation(), addRangeTableEntryForTableFunc(), addRangeTableEntryForValues(), addRTEPermissionInfo(), brincostestimate(), btcostestimate(), build_physical_tlist(), build_simple_rel(), checkNameSpaceConflicts(), create_edata_for_relation(), create_estate_for_relation(), create_foreignscan_plan(), create_hashjoin_plan(), deparse_context_for(), deparseColumnRef(), deparseFromExprForRel(), deparseSelectSql(), distribute_row_identity_vars(), examine_simple_variable(), examine_variable(), ExecGetRangeTableRelation(), expand_inherited_rtentry(), expand_single_inheritance_child(), expandRTE(), ExplainTargetRel(), extract_query_dependencies_walker(), find_expr_references_walker(), fireRIRrules(), flatten_rtes_walker(), get_actual_variable_range(), get_delete_query_def(), get_dependent_generated_columns(), get_from_clause_item(), get_insert_query_def(), get_merge_query_def(), get_relation_foreign_keys(), get_row_security_policies(), get_rte_alias(), get_rte_attribute_is_dropped(), get_rte_attribute_name(), get_tupdesc_for_join_scan_tuples(), get_update_query_def(), get_update_query_targetlist_def(), getRTEPermissionInfo(), has_row_triggers(), has_stored_generated_columns(), infer_arbiter_indexes(), InitPlan(), isQueryUsingTempRelation_walker(), LockViewRecurse_walker(), make_modifytable(), makeWholeRowVar(), markTargetListOrigin(), pg_get_triggerdef_worker(), plan_cluster_use_sort(), plan_create_index_workers(), postgresBeginForeignInsert(), postgresExplainForeignScan(), postgresPlanDirectModify(), postgresPlanForeignModify(), preprocess_targetlist(), print_rt(), recordDependencyOnSingleRelExpr(), relation_excluded_by_constraints(), relation_is_updatable(), remove_useless_groupby_columns(), RewriteQuery(), rewriteTargetView(), RI_Initial_Check(), scanNameSpaceForRelid(), ScanQueryForLocks(), scanRTEForColumn(), searchRangeTableForRel(), select_rowmark_type(), set_foreign_pathlist(), set_foreign_size(), set_rel_consider_parallel(), set_relation_column_names(), set_rtable_names(), statext_is_compatible_clause(), subquery_planner(), and substitute_grouped_columns_mutator().
RTEKind RangeTblEntry::rtekind |
Definition at line 1047 of file parsenodes.h.
Referenced by _outRangeTblEntry(), AcquireExecutorLocks(), AcquireRewriteLocks(), add_rte_to_flat_rtable(), add_rtes_to_flat_rtable(), addRangeTableEntry(), addRangeTableEntryForCTE(), addRangeTableEntryForENR(), addRangeTableEntryForFunction(), addRangeTableEntryForGroup(), addRangeTableEntryForJoin(), addRangeTableEntryForRelation(), addRangeTableEntryForSubquery(), addRangeTableEntryForTableFunc(), addRangeTableEntryForValues(), alias_relid_set(), ApplyRetrieveRule(), brincostestimate(), btcostestimate(), build_physical_tlist(), build_simple_rel(), CachedPlanAllowsSimpleValidityCheck(), check_sql_fn_retval(), checkNameSpaceConflicts(), contain_outer_selfref_walker(), cost_functionscan(), cost_samplescan(), cost_tablefuncscan(), count_rowexpr_columns(), create_ctescan_plan(), create_edata_for_relation(), create_estate_for_relation(), create_foreignscan_plan(), create_functionscan_plan(), create_hashjoin_plan(), create_namedtuplestorescan_plan(), create_samplescan_plan(), create_tablefuncscan_plan(), create_valuesscan_plan(), create_worktablescan_plan(), deparse_context_for(), examine_simple_variable(), examine_variable(), ExecCheckPermissions(), ExecGetRangeTableRelation(), expand_inherited_rtentry(), expand_single_inheritance_child(), expandNSItemAttrs(), expandRecordVariable(), expandRTE(), ExpandSingleTable(), ExplainPrintPlan(), ExplainTargetRel(), extract_lateral_references(), extract_query_dependencies_walker(), find_base_rel_ignore_join(), find_expr_references_walker(), fireRIRrules(), flatten_group_exprs_mutator(), flatten_join_alias_vars_mutator(), flatten_rtes_walker(), flatten_simple_union_all(), get_actual_variable_range(), get_delete_query_def(), get_from_clause_item(), get_insert_query_def(), get_merge_query_def(), get_name_for_var_field(), get_relation_foreign_keys(), get_row_security_policies(), get_rte_alias(), get_rte_attribute_is_dropped(), get_rte_attribute_name(), get_simple_values_rte(), get_tupdesc_for_join_scan_tuples(), get_update_query_def(), get_variable(), GetCTEForRTE(), getInsertSelectQuery(), IncrementVarSublevelsUp_walker(), inline_cte_walker(), inline_set_returning_function(), is_simple_values(), isQueryUsingTempRelation_walker(), make_modifytable(), makeWholeRowVar(), markQueryForLocking(), markRTEForSelectPriv(), markTargetListOrigin(), parseCheckAggregates(), perform_pullup_replace_vars(), pg_get_triggerdef_worker(), plan_cluster_use_sort(), plan_create_index_workers(), postgresExplainForeignScan(), preprocess_function_rtes(), preprocess_minmax_aggregates(), preprocess_rowmarks(), preprocess_targetlist(), print_rt(), pull_up_constant_function(), pull_up_simple_subquery(), pull_up_simple_union_all(), pull_up_simple_values(), pull_up_subqueries_recurse(), query_planner(), range_table_entry_walker_impl(), range_table_mutator_impl(), recordDependencyOnSingleRelExpr(), reduce_outer_joins_pass2(), relation_excluded_by_constraints(), relation_is_updatable(), remove_useless_groupby_columns(), reparameterize_path_by_child(), replace_empty_jointree(), replace_vars_in_jointree(), RewriteQuery(), rewriteRuleAction(), rewriteSearchAndCycle(), rewriteTargetView(), rewriteValuesRTE(), RI_Initial_Check(), scanNameSpaceForRelid(), ScanQueryForLocks(), scanRTEForColumn(), searchRangeTableForCol(), searchRangeTableForRel(), select_rowmark_type(), set_cte_size_estimates(), set_deparse_for_query(), set_function_size_estimates(), set_namedtuplestore_size_estimates(), set_rel_consider_parallel(), set_relation_column_names(), set_rtable_names(), set_values_size_estimates(), setRuleCheckAsUser_Query(), simplify_EXISTS_query(), subquery_planner(), substitute_grouped_columns_mutator(), transform_MERGE_to_join(), transformFromClauseItem(), transformLockingClause(), and view_query_is_auto_updatable().
Query* RangeTblEntry::subquery |
Definition at line 1104 of file parsenodes.h.
Referenced by AcquireRewriteLocks(), add_rte_to_flat_rtable(), addRangeTableEntryForFunction(), addRangeTableEntryForJoin(), addRangeTableEntryForSubquery(), addRangeTableEntryForTableFunc(), addRangeTableEntryForValues(), ApplyRetrieveRule(), build_physical_tlist(), check_sql_fn_retval(), count_rowexpr_columns(), create_unique_path(), expandRecordVariable(), expandRTE(), extract_lateral_references(), fireRIRrules(), flatten_unplanned_rtes(), get_from_clause_item(), get_insert_query_def(), get_name_for_var_field(), get_setop_query(), getInsertSelectQuery(), inline_cte_walker(), is_simple_union_all_recurse(), markQueryForLocking(), markTargetListOrigin(), plan_set_operations(), preprocess_function_rtes(), pull_up_simple_subquery(), pull_up_simple_union_all(), pull_up_subqueries_recurse(), range_table_entry_walker_impl(), range_table_mutator_impl(), recurse_push_qual(), recurse_pushdown_safe(), recurse_set_operations(), replace_vars_in_jointree(), RewriteQuery(), rewriteRuleAction(), rewriteSearchAndCycle(), ScanQueryForLocks(), set_rel_consider_parallel(), set_subquery_pathlist(), setRuleCheckAsUser_Query(), subquery_planner(), and transformLockingClause().
TableFunc* RangeTblEntry::tablefunc |
Definition at line 1184 of file parsenodes.h.
Referenced by add_rte_to_flat_rtable(), addRangeTableEntryForTableFunc(), cost_tablefuncscan(), create_tablefuncscan_plan(), extract_lateral_references(), get_from_clause_item(), range_table_entry_walker_impl(), range_table_mutator_impl(), replace_vars_in_jointree(), rewriteRuleAction(), and subquery_planner().
struct TableSampleClause* RangeTblEntry::tablesample |
Definition at line 1098 of file parsenodes.h.
Referenced by add_rte_to_flat_rtable(), ApplyRetrieveRule(), cost_samplescan(), create_samplescan_plan(), expand_single_inheritance_child(), extract_lateral_references(), get_from_clause_item(), pull_up_simple_subquery(), range_table_entry_walker_impl(), range_table_mutator_impl(), reparameterize_path_by_child(), replace_vars_in_jointree(), rewriteRuleAction(), set_rel_consider_parallel(), set_rel_pathlist(), set_rel_size(), set_tablesample_rel_pathlist(), set_tablesample_rel_size(), subquery_planner(), transformFromClauseItem(), and view_query_is_auto_updatable().
List* RangeTblEntry::values_lists |
Definition at line 1190 of file parsenodes.h.
Referenced by add_rte_to_flat_rtable(), addRangeTableEntryForValues(), create_valuesscan_plan(), extract_lateral_references(), findDefaultOnlyColumns(), get_basic_select_query(), get_from_clause_item(), get_insert_query_def(), is_simple_values(), pull_up_simple_values(), range_table_entry_walker_impl(), range_table_mutator_impl(), replace_vars_in_jointree(), rewriteRuleAction(), rewriteValuesRTE(), rewriteValuesRTEToNulls(), searchForDefault(), set_rel_consider_parallel(), set_values_size_estimates(), and subquery_planner().