MCPcopy Create free account
hub / github.com/apache/cloudberry / ExecutorFinish

Function ExecutorFinish

src/backend/executor/execMain.c:1143–1150  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecutorFinish * * This routine must be called after the last ExecutorRun call. * It performs cleanup such as firing AFTER triggers. It is * separate from ExecutorEnd because EXPLAIN ANALYZE needs to * include these actions in the total runtime. * * We provide a function hook variable that lets loadable plugins * g

Source from the content-addressed store, hash-verified

1141 * ----------------------------------------------------------------
1142 */
1143void
1144ExecutorFinish(QueryDesc *queryDesc)
1145{
1146 if (ExecutorFinish_hook)
1147 (*ExecutorFinish_hook) (queryDesc);
1148 else
1149 standard_ExecutorFinish(queryDesc);
1150}
1151
1152void
1153standard_ExecutorFinish(QueryDesc *queryDesc)

Callers 15

ProcessQueryFunction · 0.85
EndCopyToFunction · 0.85
PortalCleanupFunction · 0.85
PersistHoldablePortalFunction · 0.85
execute_sql_stringFunction · 0.85
refresh_matview_datafillFunction · 0.85
ExecCreateTableAsFunction · 0.85
ExplainOnePlanFunction · 0.85
ATExecExpandTableCTASFunction · 0.85
ATExecSetDistributedByFunction · 0.85

Calls 1

standard_ExecutorFinishFunction · 0.85

Tested by

no test coverage detected