diff options
Diffstat (limited to 'src/include/executor/execdesc.h')
-rw-r--r-- | src/include/executor/execdesc.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/include/executor/execdesc.h b/src/include/executor/execdesc.h index 2c221255dcb..c99ea818158 100644 --- a/src/include/executor/execdesc.h +++ b/src/include/executor/execdesc.h @@ -34,8 +34,7 @@ typedef struct QueryDesc { /* These fields are provided by CreateQueryDesc */ CmdType operation; /* CMD_SELECT, CMD_UPDATE, etc. */ - PlannedStmt *plannedstmt; /* planner's output, or null if utility */ - Node *utilitystmt; /* utility statement, or null */ + PlannedStmt *plannedstmt; /* planner's output (could be utility, too) */ const char *sourceText; /* source text of the query */ Snapshot snapshot; /* snapshot to use for query */ Snapshot crosscheck_snapshot; /* crosscheck for RI update/delete */ @@ -61,12 +60,6 @@ extern QueryDesc *CreateQueryDesc(PlannedStmt *plannedstmt, ParamListInfo params, int instrument_options); -extern QueryDesc *CreateUtilityQueryDesc(Node *utilitystmt, - const char *sourceText, - Snapshot snapshot, - DestReceiver *dest, - ParamListInfo params); - extern void FreeQueryDesc(QueryDesc *qdesc); #endif /* EXECDESC_H */ |