aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/replication/logical/worker.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/replication/logical/worker.c b/src/backend/replication/logical/worker.c
index d77bb32bb9e..5d9acc61733 100644
--- a/src/backend/replication/logical/worker.c
+++ b/src/backend/replication/logical/worker.c
@@ -2933,10 +2933,7 @@ maybe_reread_subscription(void)
proc_exit(0);
}
- /*
- * Exit if the subscription was disabled. This normally should not happen
- * as the worker gets killed during ALTER SUBSCRIPTION ... DISABLE.
- */
+ /* Exit if the subscription was disabled. */
if (!newsub->enabled)
{
ereport(LOG,