mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03: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:
@ -2933,10 +2933,7 @@ maybe_reread_subscription(void)
|
|||||||
proc_exit(0);
|
proc_exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/* Exit if the subscription was disabled. */
|
||||||
* Exit if the subscription was disabled. This normally should not happen
|
|
||||||
* as the worker gets killed during ALTER SUBSCRIPTION ... DISABLE.
|
|
||||||
*/
|
|
||||||
if (!newsub->enabled)
|
if (!newsub->enabled)
|
||||||
{
|
{
|
||||||
ereport(LOG,
|
ereport(LOG,
|
||||||
|
Reference in New Issue
Block a user