PostgreSQL Source Code
git master
|
#include <parse_node.h>
Definition at line 192 of file parse_node.h.
CoerceParamHook ParseState::p_coerce_param_hook |
Definition at line 241 of file parse_node.h.
Referenced by coerce_type(), make_parsestate(), and setup_parse_variable_parameters().
List* ParseState::p_ctenamespace |
Definition at line 206 of file parse_node.h.
Referenced by GetCTEForRTE(), scanNameSpaceForCTE(), transformInsertStmt(), transformMergeStmt(), and transformWithClause().
ParseExprKind ParseState::p_expr_kind |
Definition at line 214 of file parse_node.h.
Referenced by array_subscript_transform(), check_agglevels_and_constraints(), check_srf_call_placement(), hstore_subscript_transform(), jsonb_subscript_transform(), scanNSItemForColumn(), transformAssignedExpr(), transformColumnRef(), transformExpr(), transformGroupingFunc(), transformMergeSupportFunc(), transformMultiAssignRef(), transformPLAssignStmt(), transformRangeSubselect(), transformRowExpr(), transformSubLink(), transformWindowFuncCall(), and variable_paramref_hook().
List* ParseState::p_future_ctes |
Definition at line 207 of file parse_node.h.
Referenced by isFutureCTE(), and transformWithClause().
ParseNamespaceItem* ParseState::p_grouping_nsitem |
Definition at line 211 of file parse_node.h.
Referenced by parseCheckAggregates().
bool ParseState::p_hasAggs |
Definition at line 226 of file parse_node.h.
Referenced by check_agglevels_and_constraints(), checkTargetlistEntrySQL92(), parseCheckAggregates(), transformDeleteStmt(), transformPLAssignStmt(), transformReturnStmt(), transformSelectStmt(), and transformSetOperationStmt().
bool ParseState::p_hasModifyingCTE |
Definition at line 230 of file parse_node.h.
Referenced by transformDeleteStmt(), transformInsertStmt(), transformMergeStmt(), transformSelectStmt(), transformSetOperationStmt(), transformUpdateStmt(), transformValuesClause(), and transformWithClause().
bool ParseState::p_hasSubLinks |
Definition at line 229 of file parse_node.h.
Referenced by transformDeleteStmt(), transformMergeStmt(), transformPLAssignStmt(), transformReturnStmt(), transformSelectStmt(), transformSetOperationStmt(), transformSubLink(), transformUpdateStmt(), and transformValuesClause().
bool ParseState::p_hasTargetSRFs |
Definition at line 228 of file parse_node.h.
Referenced by check_srf_call_placement(), transformDeleteStmt(), transformPLAssignStmt(), transformReturnStmt(), transformSelectStmt(), transformSetOperationStmt(), and transformUpdateStmt().
bool ParseState::p_hasWindowFuncs |
Definition at line 227 of file parse_node.h.
Referenced by checkTargetlistEntrySQL92(), transformDeleteStmt(), transformPLAssignStmt(), transformReturnStmt(), transformSelectStmt(), transformSetOperationStmt(), and transformWindowFuncCall().
bool ParseState::p_is_insert |
Definition at line 212 of file parse_node.h.
Referenced by transformAssignedExpr(), transformInsertStmt(), transformMergeStmt(), transformOnConflictClause(), transformPLAssignStmt(), and transformUpdateStmt().
List* ParseState::p_joinexprs |
Definition at line 199 of file parse_node.h.
Referenced by markRTEForSelectPriv(), transformFromClauseItem(), and transformInsertStmt().
List* ParseState::p_joinlist |
Definition at line 201 of file parse_node.h.
Referenced by addNSItemToQuery(), transformDeleteStmt(), transformFromClause(), transformMergeStmt(), transformPLAssignStmt(), transformReturnStmt(), transformSelectStmt(), transformSetOperationStmt(), transformUpdateStmt(), and transformValuesClause().
Node* ParseState::p_last_srf |
Definition at line 232 of file parse_node.h.
Referenced by check_srf_call_placement(), make_distinct_op(), make_op(), make_row_comparison_op(), ParseFuncOrColumn(), sql_fn_post_column_ref(), transformAExprIn(), transformAExprNullIf(), transformAExprOp(), transformCallStmt(), transformCaseExpr(), transformCoalesceExpr(), transformColumnRef(), transformFuncCall(), transformIndirection(), and transformRangeFunction().
bool ParseState::p_lateral_active |
Definition at line 205 of file parse_node.h.
Referenced by colNameToVar(), rte_visible_if_lateral(), scanNameSpaceForRefname(), scanNameSpaceForRelid(), transformJsonTable(), transformRangeFunction(), transformRangeSubselect(), and transformRangeTableFunc().
bool ParseState::p_locked_from_parent |
Definition at line 218 of file parse_node.h.
Referenced by isLockedRefname(), and parse_sub_analyze().
List* ParseState::p_locking_clause |
Definition at line 217 of file parse_node.h.
Referenced by isLockedRefname(), transformPLAssignStmt(), and transformSelectStmt().
List* ParseState::p_multiassign_exprs |
Definition at line 216 of file parse_node.h.
Referenced by transformMultiAssignRef(), and transformTargetList().
List* ParseState::p_namespace |
Definition at line 203 of file parse_node.h.
Referenced by addNSItemToQuery(), colNameToVar(), ExpandAllTables(), findNSItemForRTE(), GetNSItemByRangeTablePosn(), scanNameSpaceForRefname(), scanNameSpaceForRelid(), setNamespaceForMergeWhen(), transformFromClause(), transformFromClauseItem(), transformInsertStmt(), transformJoinOnClause(), transformOnConflictClause(), transformSetOperationStmt(), and transformSetOperationTree().
int ParseState::p_next_resno |
Definition at line 215 of file parse_node.h.
Referenced by expandNSItemAttrs(), ExpandRowReference(), free_parsestate(), make_parsestate(), transformAggregateCall(), transformReturningList(), transformSetOperationStmt(), transformTargetEntry(), transformUpdateTargetList(), and transformValuesClause().
List* ParseState::p_nullingrels |
Definition at line 200 of file parse_node.h.
Referenced by markNullableIfNeeded(), markRelsAsNulledBy(), and transformInsertStmt().
ParseParamRefHook ParseState::p_paramref_hook |
Definition at line 240 of file parse_node.h.
Referenced by make_parsestate(), paramlist_parser_setup(), plpgsql_parser_setup(), setup_parse_fixed_parameters(), setup_parse_variable_parameters(), sql_fn_parser_setup(), transformExplainStmt(), and transformParamRef().
CommonTableExpr* ParseState::p_parent_cte |
Definition at line 208 of file parse_node.h.
Referenced by determineRecursiveColTypes(), parse_sub_analyze(), and transformSetOperationTree().
PostParseColumnRefHook ParseState::p_post_columnref_hook |
Definition at line 239 of file parse_node.h.
Referenced by ExpandColumnRefStar(), make_parsestate(), plpgsql_parser_setup(), sql_fn_parser_setup(), transformColumnRef(), and transformCurrentOfExpr().
PreParseColumnRefHook ParseState::p_pre_columnref_hook |
Definition at line 238 of file parse_node.h.
Referenced by domainAddCheckConstraint(), ExpandColumnRefStar(), make_parsestate(), plpgsql_parser_setup(), sql_fn_parser_setup(), transformColumnRef(), and transformCurrentOfExpr().
QueryEnvironment* ParseState::p_queryEnv |
Definition at line 223 of file parse_node.h.
Referenced by ExplainQuery(), get_visible_ENR(), make_parsestate(), name_matches_visible_ENR(), parse_analyze_fixedparams(), parse_analyze_varparams(), parse_analyze_withcb(), and standard_ProcessUtility().
void* ParseState::p_ref_hook_state |
Definition at line 242 of file parse_node.h.
Referenced by check_parameter_resolution_walker(), check_variable_parameters(), domainAddCheckConstraint(), fixed_paramref_hook(), make_parsestate(), paramlist_param_ref(), paramlist_parser_setup(), plpgsql_param_ref(), plpgsql_parser_setup(), plpgsql_post_column_ref(), plpgsql_pre_column_ref(), replace_domain_constraint_value(), setup_parse_fixed_parameters(), setup_parse_variable_parameters(), sql_fn_param_ref(), sql_fn_parser_setup(), sql_fn_post_column_ref(), variable_coerce_param_hook(), and variable_paramref_hook().
bool ParseState::p_resolve_unknowns |
Definition at line 220 of file parse_node.h.
Referenced by make_parsestate(), parse_sub_analyze(), transformInsertStmt(), transformReturningList(), transformReturnStmt(), and transformSelectStmt().
List* ParseState::p_rtable |
Definition at line 196 of file parse_node.h.
Referenced by addRangeTableEntry(), addRangeTableEntryForCTE(), addRangeTableEntryForENR(), addRangeTableEntryForFunction(), addRangeTableEntryForGroup(), addRangeTableEntryForJoin(), addRangeTableEntryForRelation(), addRangeTableEntryForSubquery(), addRangeTableEntryForTableFunc(), addRangeTableEntryForValues(), AlterPolicy(), BeginCopyFrom(), check_nested_generated_walker(), cookConstraint(), CreatePolicy(), CreateTriggerFiringOn(), determineRecursiveColTypes(), DoCopy(), domainAddCheckConstraint(), expandRecordVariable(), GetRTEByRangeTablePosn(), interpret_function_parameter_list(), markRTEForSelectPriv(), parseCheckAggregates(), searchRangeTableForCol(), searchRangeTableForRel(), setNamespaceForMergeWhen(), transformDeleteStmt(), transformFromClauseItem(), transformIndexStmt(), transformInsertStmt(), transformMergeStmt(), transformPLAssignStmt(), transformReturnStmt(), transformRuleStmt(), transformSelectStmt(), transformSetOperationStmt(), transformSetOperationTree(), transformStatsStmt(), transformUpdateStmt(), and transformValuesClause().
List* ParseState::p_rteperminfos |
Definition at line 197 of file parse_node.h.
Referenced by addRangeTableEntry(), addRangeTableEntryForRelation(), BeginCopyFrom(), markRTEForSelectPriv(), transformDeleteStmt(), transformInsertStmt(), transformMergeStmt(), transformPLAssignStmt(), transformReturnStmt(), transformRuleStmt(), transformSelectStmt(), transformSetOperationStmt(), transformUpdateStmt(), and transformValuesClause().
const char* ParseState::p_sourcetext |
Definition at line 195 of file parse_node.h.
Referenced by AddRelationNewConstraints(), AlterPublication(), ATExecAttachPartition(), BeginCopyTo(), CreateFunction(), CreatePublication(), CreateTriggerFiringOn(), DefineRelation(), ExecCreateTableAs(), ExplainExecuteQuery(), ExplainQuery(), inline_function(), interpret_AS_clause(), make_parsestate(), parse_analyze_fixedparams(), parse_analyze_varparams(), parse_analyze_withcb(), parser_errposition(), PerformCursorOpen(), pgss_post_parse_analyze(), PrepareQuery(), standard_ProcessUtility(), transformAlterTableStmt(), transformCreateStmt(), transformIndexStmt(), TransformPubWhereClauses(), transformRuleStmt(), and transformStatsStmt().
ParseNamespaceItem* ParseState::p_target_nsitem |
Definition at line 210 of file parse_node.h.
Referenced by check_lateral_ref_ok(), setTargetTable(), transformAssignedExpr(), transformCurrentOfExpr(), transformDeleteStmt(), transformMergeStmt(), transformOnConflictArbiter(), transformUpdateStmt(), and transformUpdateTargetList().
Relation ParseState::p_target_relation |
Definition at line 209 of file parse_node.h.
Referenced by checkInsertTargets(), free_parsestate(), setTargetTable(), transformAssignedExpr(), transformMergeStmt(), transformOnConflictArbiter(), transformOnConflictClause(), and transformUpdateTargetList().
List* ParseState::p_windowdefs |
Definition at line 213 of file parse_node.h.
Referenced by transformPLAssignStmt(), transformSelectStmt(), and transformWindowFuncCall().
ParseState* ParseState::parentParseState |
Definition at line 194 of file parse_node.h.
Referenced by analyzeCTE(), check_agglevels_and_constraints(), colNameToVar(), expandRecordVariable(), findNSItemForRTE(), GetCTEForRTE(), GetNSItemByRangeTablePosn(), GetRTEByRangeTablePosn(), isFutureCTE(), make_parsestate(), markNullableIfNeeded(), markVarForSelectPriv(), refnameNamespaceItem(), scanNameSpaceForCTE(), searchRangeTableForCol(), searchRangeTableForRel(), and transformMergeSupportFunc().