PostgreSQL Source Code  git master
RangeTblEntry Struct Reference

#include <parsenodes.h>

Data Fields

NodeTag type
 
RTEKind rtekind
 
Oid relid
 
char relkind
 
int rellockmode
 
struct TableSampleClausetablesample
 
Querysubquery
 
bool security_barrier
 
JoinType jointype
 
int joinmergedcols
 
Listjoinaliasvars
 
Listjoinleftcols
 
Listjoinrightcols
 
Aliasjoin_using_alias
 
Listfunctions
 
bool funcordinality
 
TableFunctablefunc
 
Listvalues_lists
 
char * ctename
 
Index ctelevelsup
 
bool self_reference
 
Listcoltypes
 
Listcoltypmods
 
Listcolcollations
 
char * enrname
 
Cardinality enrtuples
 
Aliasalias
 
Aliaseref
 
bool lateral
 
bool inh
 
bool inFromCl
 
AclMode requiredPerms
 
Oid checkAsUser
 
BitmapsetselectedCols
 
BitmapsetinsertedCols
 
BitmapsetupdatedCols
 
BitmapsetextraUpdatedCols
 
ListsecurityQuals
 

Detailed Description

Definition at line 1003 of file parsenodes.h.

Field Documentation

◆ alias

◆ checkAsUser

◆ colcollations

◆ coltypes

◆ coltypmods

◆ ctelevelsup

◆ ctename

◆ enrname

char* RangeTblEntry::enrname

◆ enrtuples

Cardinality RangeTblEntry::enrtuples

Definition at line 1147 of file parsenodes.h.

Referenced by addRangeTableEntryForENR(), and set_namedtuplestore_size_estimates().

◆ eref

◆ extraUpdatedCols

◆ funcordinality

◆ functions

◆ inFromCl

◆ inh

◆ insertedCols

◆ join_using_alias

Alias* RangeTblEntry::join_using_alias

Definition at line 1091 of file parsenodes.h.

Referenced by add_rte_to_flat_rtable(), and addRangeTableEntryForJoin().

◆ joinaliasvars

◆ joinleftcols

List* RangeTblEntry::joinleftcols

◆ joinmergedcols

int RangeTblEntry::joinmergedcols

◆ joinrightcols

List* RangeTblEntry::joinrightcols

◆ jointype

JoinType RangeTblEntry::jointype

◆ lateral

◆ relid

Oid RangeTblEntry::relid

Definition at line 1034 of file parsenodes.h.

Referenced by AcquireExecutorLocks(), AcquireRewriteLocks(), add_rte_to_flat_rtable(), addRangeTableEntry(), addRangeTableEntryForENR(), addRangeTableEntryForFunction(), addRangeTableEntryForJoin(), addRangeTableEntryForRelation(), addRangeTableEntryForTableFunc(), addRangeTableEntryForValues(), ApplyRetrieveRule(), brincostestimate(), btcostestimate(), build_physical_tlist(), build_simple_rel(), check_ungrouped_columns_walker(), checkNameSpaceConflicts(), create_edata_for_relation(), create_foreignscan_plan(), create_hashjoin_plan(), deparse_context_for(), deparseColumnRef(), deparseFromExprForRel(), deparseSelectSql(), distribute_row_identity_vars(), DoCopy(), examine_simple_variable(), examine_variable(), ExecCheckRTEPerms(), ExecCheckRTPerms(), ExecCheckXactReadOnly(), ExecGetRangeTableRelation(), expand_inherited_rtentry(), expand_single_inheritance_child(), expandRTE(), ExplainTargetRel(), extract_query_dependencies_walker(), find_expr_references_walker(), fireRIRrules(), get_actual_variable_range(), get_delete_query_def(), get_from_clause_item(), get_insert_query_def(), get_relation_foreign_keys(), get_row_security_policies(), get_rte_attribute_is_dropped(), get_rte_attribute_name(), get_tupdesc_for_join_scan_tuples(), get_update_query_def(), get_update_query_targetlist_def(), has_row_triggers(), has_stored_generated_columns(), infer_arbiter_indexes(), InitPlan(), isQueryUsingTempRelation_walker(), JumbleRangeTable(), 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(), sepgsql_dml_privileges(), set_foreign_pathlist(), set_foreign_size(), set_rel_consider_parallel(), set_relation_column_names(), set_rtable_names(), statext_is_compatible_clause(), and subquery_planner().

◆ relkind

◆ rellockmode

◆ requiredPerms

◆ rtekind

RTEKind RangeTblEntry::rtekind

Definition at line 1007 of file parsenodes.h.

Referenced by _outRangeTblEntry(), AcquireExecutorLocks(), AcquireRewriteLocks(), add_rte_to_flat_rtable(), add_rtes_to_flat_rtable(), addRangeTableEntry(), addRangeTableEntryForCTE(), addRangeTableEntryForENR(), addRangeTableEntryForFunction(), addRangeTableEntryForJoin(), addRangeTableEntryForRelation(), addRangeTableEntryForSubquery(), addRangeTableEntryForTableFunc(), addRangeTableEntryForValues(), alias_relid_set(), ApplyRetrieveRule(), brincostestimate(), btcostestimate(), build_physical_tlist(), build_simple_rel(), CachedPlanAllowsSimpleValidityCheck(), check_sql_fn_retval(), check_ungrouped_columns_walker(), checkNameSpaceConflicts(), contain_outer_selfref_walker(), cost_functionscan(), cost_samplescan(), cost_tablefuncscan(), count_rowexpr_columns(), create_ctescan_plan(), create_edata_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(), ExecCheckRTEPerms(), ExecCheckRTPerms(), ExecCheckXactReadOnly(), ExecGetRangeTableRelation(), expand_inherited_rtentry(), expand_single_inheritance_child(), expandNSItemAttrs(), expandRecordVariable(), expandRTE(), ExpandSingleTable(), ExplainTargetRel(), extract_lateral_references(), extract_query_dependencies_walker(), find_expr_references_walker(), fireRIRrules(), 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_name_for_var_field(), get_relation_foreign_keys(), 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(), IncrementVarSublevelsUp_walker(), inline_cte_walker(), inline_set_returning_function(), is_simple_values(), isQueryUsingTempRelation_walker(), JumbleRangeTable(), 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(), range_table_mutator(), recordDependencyOnSingleRelExpr(), reduce_outer_joins_pass2(), relation_excluded_by_constraints(), relation_is_updatable(), remove_useless_groupby_columns(), replace_empty_jointree(), replace_vars_in_jointree(), RewriteQuery(), rewriteRuleAction(), rewriteSearchAndCycle(), rewriteTargetView(), RI_Initial_Check(), scanNameSpaceForRelid(), ScanQueryForLocks(), scanRTEForColumn(), searchRangeTableForCol(), searchRangeTableForRel(), select_rowmark_type(), sepgsql_dml_privileges(), 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(), subquery_planner(), transformFromClauseItem(), transformLockingClause(), and view_query_is_auto_updatable().

◆ security_barrier

◆ securityQuals

◆ selectedCols

◆ self_reference

◆ subquery

◆ tablefunc

◆ tablesample

◆ type

NodeTag RangeTblEntry::type

Definition at line 1005 of file parsenodes.h.

Referenced by recordDependencyOnSingleRelExpr().

◆ updatedCols

◆ values_lists


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