PostgreSQL Source Code git master
Public Member Functions | Data Fields
PlannedStmt Struct Reference

#include <plannodes.h>

Public Member Functions

  pg_node_attr (no_equal, no_query_jumble) NodeTag type
 

Data Fields

 
 
 
 
bool  hasReturning
 
 
bool  canSetTag
 
bool  transientPlan
 
bool  dependsOnRole
 
 
int  jitFlags
 
struct PlanplanTree
 
 
Listrtable
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Detailed Description

Definition at line 61 of file plannodes.h.

Member Function Documentation

pg_node_attr()

PlannedStmt::pg_node_attr ( no_equal  ,
no_query_jumble   
)

Field Documentation

appendRelations

List* PlannedStmt::appendRelations

Definition at line 127 of file plannodes.h.

Referenced by deparse_context_for_plan_tree(), ExecSerializePlan(), and standard_planner().

canSetTag

bool PlannedStmt::canSetTag

Definition at line 86 of file plannodes.h.

Referenced by ChoosePortalStrategy(), CreateSchemaCommand(), ExecSerializePlan(), overexplain_debug(), PortalRunMulti(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), and standard_planner().

commandType

CmdType PlannedStmt::commandType

Definition at line 68 of file plannodes.h.

Referenced by AcquireExecutorLocks(), BuildCachedPlan(), cached_plan_cost(), CachedPlanAllowsSimpleValidityCheck(), ChoosePortalStrategy(), CommandIsReadOnly(), CreateQueryDesc(), CreateSchemaCommand(), ExecCheckXactReadOnly(), ExecSerializePlan(), ExecuteQuery(), ExplainExecuteQuery(), ExplainOnePlan(), FetchStatementTargetList(), init_execution_state(), IsTransactionExitStmtList(), IsTransactionStmtList(), overexplain_debug(), PlanCacheObjectCallback(), PlanCacheRelCallback(), PortalStart(), postquel_start(), ProcessUtility(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), and standard_planner().

dependsOnRole

bool PlannedStmt::dependsOnRole

Definition at line 92 of file plannodes.h.

Referenced by BuildCachedPlan(), ExecSerializePlan(), overexplain_debug(), and standard_planner().

hasModifyingCTE

bool PlannedStmt::hasModifyingCTE

Definition at line 83 of file plannodes.h.

Referenced by ChoosePortalStrategy(), CommandIsReadOnly(), ExecCheckXactReadOnly(), ExecSerializePlan(), init_execution_state(), overexplain_debug(), standard_ExecutorStart(), and standard_planner().

hasReturning

bool PlannedStmt::hasReturning

Definition at line 80 of file plannodes.h.

Referenced by _SPI_pquery(), ChoosePortalStrategy(), ExecSerializePlan(), FetchStatementTargetList(), overexplain_debug(), standard_ExecutorRun(), and standard_planner().

invalItems

List* PlannedStmt::invalItems

Definition at line 144 of file plannodes.h.

Referenced by ExecSerializePlan(), PlanCacheObjectCallback(), and standard_planner().

jitFlags

int PlannedStmt::jitFlags

Definition at line 98 of file plannodes.h.

Referenced by ParallelQueryMain(), standard_ExecutorStart(), and standard_planner().

parallelModeNeeded

bool PlannedStmt::parallelModeNeeded

Definition at line 95 of file plannodes.h.

Referenced by ExecSerializePlan(), ExecutePlan(), overexplain_debug(), and standard_planner().

paramExecTypes

List* PlannedStmt::paramExecTypes

Definition at line 147 of file plannodes.h.

Referenced by EstimateParamExecSpace(), EvalPlanQualBegin(), EvalPlanQualStart(), ExecSerializePlan(), overexplain_debug(), SerializeParamExecParams(), standard_ExecutorStart(), and standard_planner().

partPruneInfos

List* PlannedStmt::partPruneInfos

Definition at line 106 of file plannodes.h.

Referenced by ExecSerializePlan(), InitPlan(), and standard_planner().

permInfos

List* PlannedStmt::permInfos

Definition at line 120 of file plannodes.h.

Referenced by ExecCheckXactReadOnly(), ExecSerializePlan(), InitPlan(), and standard_planner().

planId

int64 PlannedStmt::planId

Definition at line 74 of file plannodes.h.

Referenced by ExecSerializePlan(), and planner().

planOrigin

PlannedStmtOrigin PlannedStmt::planOrigin

Definition at line 77 of file plannodes.h.

Referenced by CreateSchemaCommand(), ExecSerializePlan(), GetCachedPlan(), pgss_ExecutorEnd(), pgss_planner(), pgss_ProcessUtility(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), and standard_planner().

planTree

struct Plan* PlannedStmt::planTree

Definition at line 101 of file plannodes.h.

Referenced by cached_plan_cost(), ExecSerializePlan(), FetchStatementTargetList(), InitPlan(), PortalStart(), and standard_planner().

queryId

int64 PlannedStmt::queryId

Definition at line 71 of file plannodes.h.

Referenced by ExecSerializePlan(), ExecutorStart(), ExplainPrintPlan(), pgss_ExecutorEnd(), pgss_ExecutorStart(), pgss_ProcessUtility(), and standard_planner().

relationOids

List* PlannedStmt::relationOids

Definition at line 141 of file plannodes.h.

Referenced by ExecSerializePlan(), overexplain_debug(), PlanCacheRelCallback(), and standard_planner().

resultRelations

List* PlannedStmt::resultRelations

Definition at line 124 of file plannodes.h.

Referenced by ExecRelationIsTargetRelation(), ExecSerializePlan(), overexplain_range_table(), and standard_planner().

rewindPlanIDs

Bitmapset* PlannedStmt::rewindPlanIDs

Definition at line 135 of file plannodes.h.

Referenced by ExecSerializePlan(), InitPlan(), overexplain_debug(), and standard_planner().

rowMarks

List* PlannedStmt::rowMarks

Definition at line 138 of file plannodes.h.

Referenced by CommandIsReadOnly(), ExecSerializePlan(), InitPlan(), standard_ExecutorStart(), and standard_planner().

rtable

List* PlannedStmt::rtable

Definition at line 109 of file plannodes.h.

Referenced by AcquireExecutorLocks(), cached_plan_cost(), CachedPlanAllowsSimpleValidityCheck(), deparse_context_for_plan_tree(), ExecSerializePlan(), ExplainPrintPlan(), InitPlan(), overexplain_range_table(), and standard_planner().

stmt_len

ParseLoc PlannedStmt::stmt_len

Definition at line 156 of file plannodes.h.

Referenced by CreateSchemaCommand(), ExecSerializePlan(), overexplain_debug(), pgss_ExecutorEnd(), pgss_ProcessUtility(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), standard_planner(), and standard_ProcessUtility().

stmt_location

ParseLoc PlannedStmt::stmt_location

Definition at line 154 of file plannodes.h.

Referenced by CreateSchemaCommand(), ExecSerializePlan(), overexplain_debug(), pgss_ExecutorEnd(), pgss_ProcessUtility(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), standard_planner(), and standard_ProcessUtility().

subplans

List* PlannedStmt::subplans

Definition at line 132 of file plannodes.h.

Referenced by deparse_context_for_plan_tree(), EvalPlanQualStart(), ExecSerializePlan(), InitPlan(), and standard_planner().

transientPlan

bool PlannedStmt::transientPlan

Definition at line 89 of file plannodes.h.

Referenced by BuildCachedPlan(), ExecSerializePlan(), overexplain_debug(), and standard_planner().

unprunableRelids

Bitmapset* PlannedStmt::unprunableRelids

Definition at line 115 of file plannodes.h.

Referenced by ExecSerializePlan(), InitPlan(), overexplain_range_table(), and standard_planner().

utilityStmt

Node* PlannedStmt::utilityStmt

Definition at line 150 of file plannodes.h.

Referenced by AcquireExecutorLocks(), ChoosePortalStrategy(), CreateSchemaCommand(), ExecSerializePlan(), ExplainExecuteQuery(), FetchStatementTargetList(), IsTransactionExitStmtList(), IsTransactionStmtList(), make_callstmt_target(), pgss_ProcessUtility(), PlannedStmtRequiresSnapshot(), PortalRunMulti(), PortalStart(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), REGRESS_utility_command(), sepgsql_utility_command(), standard_planner(), and standard_ProcessUtility().


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

AltStyle によって変換されたページ (->オリジナル) /