aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/trigger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/commands/trigger.c')
-rw-r--r--src/backend/commands/trigger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/trigger.c b/src/backend/commands/trigger.c
index dc6ee9c266f..0af8a11b0a7 100644
--- a/src/backend/commands/trigger.c
+++ b/src/backend/commands/trigger.c
@@ -3676,9 +3676,9 @@ AfterTriggerBeginQuery(void)
* we invoke all AFTER IMMEDIATE trigger events queued by the query, and
* transfer deferred trigger events to the global deferred-trigger list.
*
- * Note that this should be called just BEFORE closing down the executor
+ * Note that this must be called BEFORE closing down the executor
* with ExecutorEnd, because we make use of the EState's info about
- * target relations.
+ * target relations. Normally it is called from ExecutorFinish.
* ----------
*/
void