summaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/commands/async.c')
-rw-r--r--src/backend/commands/async.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c
index 010a2a4291..99da39f825 100644
--- a/src/backend/commands/async.c
+++ b/src/backend/commands/async.c
@@ -915,10 +915,9 @@ EnableNotifyInterrupt(void)
* a frontend command. Signal handler execution of inbound notifies
* is disabled until the next EnableNotifyInterrupt call.
*
- * This also needs to be called when SIGUSR1 with
- * PROCSIG_CATCHUP_INTERRUPT is received, so as to prevent conflicts
- * if one signal interrupts the other. So we must return the previous
- * state of the flag.
+ * The SIGUSR1 signal handler also needs to call this, so as to
+ * prevent conflicts if one signal interrupts the other. So we
+ * must return the previous state of the flag.
*/
bool
DisableNotifyInterrupt(void)
@@ -955,7 +954,7 @@ ProcessIncomingNotify(void)
nulls[Natts_pg_listener];
bool catchup_enabled;
- /* Must prevent catchup interrupt while I am running */
+ /* Must prevent SIGUSR1 interrupt while I am running */
catchup_enabled = DisableCatchupInterrupt();
if (Trace_notify)