mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
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
This commit is contained in:
parent
62cb7427d1
commit
c476f380e2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user