|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | QueryDesc |
Typedefs | |
| typedef struct QueryDesc | QueryDesc |
Functions | |
| QueryDesc * | CreateQueryDesc (PlannedStmt *plannedstmt, const char *sourceText, Snapshot snapshot, Snapshot crosscheck_snapshot, DestReceiver *dest, ParamListInfo params, QueryEnvironment *queryEnv, int instrument_options) |
| void | FreeQueryDesc (QueryDesc *qdesc) |
| QueryDesc * CreateQueryDesc | ( | PlannedStmt * | plannedstmt, |
| const char * | sourceText, | ||
| Snapshot | snapshot, | ||
| Snapshot | crosscheck_snapshot, | ||
| DestReceiver * | dest, | ||
| ParamListInfo | params, | ||
| QueryEnvironment * | queryEnv, | ||
| int | instrument_options | ||
| ) |
Definition at line 68 of file pquery.c.
References QueryDesc::already_executed, PlannedStmt::commandType, QueryDesc::crosscheck_snapshot, generate_unaccent_rules::dest, QueryDesc::dest, QueryDesc::estate, QueryDesc::instrument_options, QueryDesc::operation, palloc(), QueryDesc::params, QueryDesc::plannedstmt, QueryDesc::planstate, QueryDesc::queryEnv, RegisterSnapshot(), QueryDesc::snapshot, QueryDesc::sourceText, QueryDesc::totaltime, and QueryDesc::tupDesc.
Referenced by _SPI_execute_plan(), BeginCopyTo(), ExecCreateTableAs(), ExecParallelGetQueryDesc(), execute_sql_string(), ExplainOnePlan(), PortalStart(), postquel_start(), ProcessQuery(), and refresh_matview_datafill().
| void FreeQueryDesc | ( | QueryDesc * | qdesc | ) |
Definition at line 106 of file pquery.c.
References Assert(), QueryDesc::crosscheck_snapshot, QueryDesc::estate, pfree(), QueryDesc::snapshot, and UnregisterSnapshot().
Referenced by _SPI_execute_plan(), EndCopyTo(), ExecCreateTableAs(), execute_sql_string(), ExplainOnePlan(), ParallelQueryMain(), PersistHoldablePortal(), PortalCleanup(), postquel_end(), ProcessQuery(), and refresh_matview_datafill().