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