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:
Amit Kapila 2022-02-18 07:44:24 +05:30
parent 62cb7427d1
commit c476f380e2

View File

@ -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,