diff options
author | Amit Kapila <akapila@postgresql.org> | 2022-02-18 07:44:24 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2022-02-18 07:46:51 +0530 |
commit | c476f380e296bab57fecada1ea96c86d575bf160 (patch) | |
tree | 86f8071f36cdd3cb3cead65e1e1c3e45041c2f18 | |
parent | 62cb7427d1e491faf8612a82c2e3711a8cd65422 (diff) | |
download | postgresql-c476f380e296bab57fecada1ea96c86d575bf160.tar.gz postgresql-c476f380e296bab57fecada1ea96c86d575bf160.zip |
Fix a comment in worker.c.
The comment incorrectly states that worker gets killed during
ALTER SUBSCRIPTION ... DISABLE. Remove that part of the comment.
Author: Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoCbEN==oH7BhP3U6WPHg3zgH6sDOeKhJjy4W2dx-qoVCw@mail.gmail.com
-rw-r--r-- | src/backend/replication/logical/worker.c | 5 |
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, |