Skip to content

Commit c476f38

Browse files
author
Amit Kapila
committed
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
1 parent 62cb742 commit c476f38

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/backend/replication/logical/worker.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2933,10 +2933,7 @@ maybe_reread_subscription(void)
29332933
proc_exit(0);
29342934
}
29352935

2936-
/*
2937-
* Exit if the subscription was disabled. This normally should not happen
2938-
* as the worker gets killed during ALTER SUBSCRIPTION ... DISABLE.
2939-
*/
2936+
/* Exit if the subscription was disabled. */
29402937
if (!newsub->enabled)
29412938
{
29422939
ereport(LOG,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy