PostgreSQL Source Code
git master
|
#include <plannodes.h>
Public Member Functions | |
pg_node_attr (no_equal) NodeTag type | |
Data Fields | |
CmdType | commandType |
uint64 | queryId |
bool | hasReturning |
bool | hasModifyingCTE |
bool | canSetTag |
bool | transientPlan |
bool | dependsOnRole |
bool | parallelModeNeeded |
int | jitFlags |
struct Plan * | planTree |
List * | partPruneInfos |
List * | rtable |
List * | permInfos |
List * | resultRelations |
List * | appendRelations |
List * | subplans |
Bitmapset * | rewindPlanIDs |
List * | rowMarks |
List * | relationOids |
List * | invalItems |
List * | paramExecTypes |
Node * | utilityStmt |
int | stmt_location |
int | stmt_len |
Definition at line 47 of file plannodes.h.
PlannedStmt::pg_node_attr | ( | no_equal | ) |
List* PlannedStmt::appendRelations |
Definition at line 84 of file plannodes.h.
Referenced by deparse_context_for_plan_tree(), ExecSerializePlan(), and standard_planner().
bool PlannedStmt::canSetTag |
Definition at line 61 of file plannodes.h.
Referenced by _SPI_execute_plan(), ChoosePortalStrategy(), CreateSchemaCommand(), ExecSerializePlan(), init_execution_state(), pg_plan_queries(), PortalGetPrimaryStmt(), PortalRunMulti(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), and standard_planner().
CmdType PlannedStmt::commandType |
Definition at line 53 of file plannodes.h.
Referenced by AcquireExecutorLocks(), BuildCachedPlan(), cached_plan_cost(), CachedPlanAllowsSimpleValidityCheck(), ChoosePortalStrategy(), CommandIsReadOnly(), CreateCommandTag(), CreateQueryDesc(), CreateSchemaCommand(), exec_save_simple_expr(), ExecCheckXactReadOnly(), ExecSerializePlan(), ExecuteQuery(), ExplainExecuteQuery(), ExplainOnePlan(), FetchStatementTargetList(), GetCommandLogLevel(), init_execution_state(), IsTransactionExitStmtList(), IsTransactionStmtList(), pg_plan_queries(), PlanCacheObjectCallback(), PlanCacheRelCallback(), PortalStart(), ProcessUtility(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), standard_planner(), and test_predtest().
bool PlannedStmt::dependsOnRole |
Definition at line 65 of file plannodes.h.
Referenced by BuildCachedPlan(), ExecSerializePlan(), and standard_planner().
bool PlannedStmt::hasModifyingCTE |
Definition at line 59 of file plannodes.h.
Referenced by ChoosePortalStrategy(), CommandIsReadOnly(), ExecCheckXactReadOnly(), ExecSerializePlan(), init_execution_state(), standard_ExecutorStart(), and standard_planner().
bool PlannedStmt::hasReturning |
Definition at line 57 of file plannodes.h.
Referenced by _SPI_pquery(), ChoosePortalStrategy(), ExecSerializePlan(), FetchStatementTargetList(), standard_ExecutorRun(), and standard_planner().
List* PlannedStmt::invalItems |
Definition at line 95 of file plannodes.h.
Referenced by ExecSerializePlan(), PlanCacheObjectCallback(), and standard_planner().
int PlannedStmt::jitFlags |
Definition at line 69 of file plannodes.h.
Referenced by ParallelQueryMain(), standard_ExecutorStart(), and standard_planner().
bool PlannedStmt::parallelModeNeeded |
Definition at line 67 of file plannodes.h.
Referenced by ExecSerializePlan(), standard_ExecutorRun(), and standard_planner().
List* PlannedStmt::paramExecTypes |
Definition at line 97 of file plannodes.h.
Referenced by EstimateParamExecSpace(), EvalPlanQualBegin(), EvalPlanQualStart(), ExecSerializePlan(), SerializeParamExecParams(), standard_ExecutorStart(), and standard_planner().
List* PlannedStmt::partPruneInfos |
Definition at line 73 of file plannodes.h.
Referenced by ExecSerializePlan(), InitPlan(), and standard_planner().
List* PlannedStmt::permInfos |
Definition at line 78 of file plannodes.h.
Referenced by ExecCheckXactReadOnly(), ExecSerializePlan(), InitPlan(), and standard_planner().
struct Plan* PlannedStmt::planTree |
Definition at line 71 of file plannodes.h.
Referenced by cached_plan_cost(), exec_save_simple_expr(), ExecSerializePlan(), FetchStatementTargetList(), InitPlan(), PerformCursorOpen(), PortalStart(), standard_planner(), and test_predtest().
uint64 PlannedStmt::queryId |
Definition at line 55 of file plannodes.h.
Referenced by ExecSerializePlan(), ExecutorStart(), ExplainPrintPlan(), pg_plan_queries(), pgss_ExecutorEnd(), pgss_ExecutorStart(), pgss_ProcessUtility(), and standard_planner().
List* PlannedStmt::relationOids |
Definition at line 93 of file plannodes.h.
Referenced by BeginCopyTo(), ExecSerializePlan(), PlanCacheRelCallback(), and standard_planner().
List* PlannedStmt::resultRelations |
Definition at line 82 of file plannodes.h.
Referenced by ExecRelationIsTargetRelation(), ExecSerializePlan(), and standard_planner().
Bitmapset* PlannedStmt::rewindPlanIDs |
Definition at line 89 of file plannodes.h.
Referenced by ExecSerializePlan(), InitPlan(), and standard_planner().
List* PlannedStmt::rowMarks |
Definition at line 91 of file plannodes.h.
Referenced by CommandIsReadOnly(), CreateCommandTag(), ExecSerializePlan(), InitPlan(), PerformCursorOpen(), standard_ExecutorStart(), and standard_planner().
List* PlannedStmt::rtable |
Definition at line 76 of file plannodes.h.
Referenced by AcquireExecutorLocks(), cached_plan_cost(), CachedPlanAllowsSimpleValidityCheck(), deparse_context_for_plan_tree(), ExecSerializePlan(), ExplainPrintPlan(), InitPlan(), and standard_planner().
int PlannedStmt::stmt_len |
Definition at line 103 of file plannodes.h.
Referenced by CreateSchemaCommand(), ExecSerializePlan(), init_execution_state(), pg_plan_queries(), pgss_ExecutorEnd(), pgss_ProcessUtility(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), standard_planner(), and standard_ProcessUtility().
int PlannedStmt::stmt_location |
Definition at line 102 of file plannodes.h.
Referenced by CreateSchemaCommand(), ExecSerializePlan(), init_execution_state(), pg_plan_queries(), pgss_ExecutorEnd(), pgss_ProcessUtility(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), standard_planner(), and standard_ProcessUtility().
List* PlannedStmt::subplans |
Definition at line 86 of file plannodes.h.
Referenced by deparse_context_for_plan_tree(), EvalPlanQualStart(), ExecSerializePlan(), InitPlan(), and standard_planner().
bool PlannedStmt::transientPlan |
Definition at line 63 of file plannodes.h.
Referenced by BuildCachedPlan(), ExecSerializePlan(), and standard_planner().
Node* PlannedStmt::utilityStmt |
Definition at line 99 of file plannodes.h.
Referenced by _SPI_execute_plan(), AcquireExecutorLocks(), ChoosePortalStrategy(), CreateCommandTag(), CreateSchemaCommand(), ExecSerializePlan(), execute_sql_string(), ExplainExecuteQuery(), FetchStatementTargetList(), GetCommandLogLevel(), init_execution_state(), IsTransactionExitStmtList(), IsTransactionStmtList(), pg_plan_queries(), pgss_ProcessUtility(), PlannedStmtRequiresSnapshot(), PortalRunMulti(), PortalStart(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), REGRESS_utility_command(), sepgsql_utility_command(), standard_planner(), and standard_ProcessUtility().