Re: pg_settings.pending_restart not set when line removed

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander Kukushkin <cyberdemn@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, Pg Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-08-13T14:45:38Z
Lists: pgsql-hackers
Alexander Kukushkin <cyberdemn@gmail.com> writes:
> IMO is totally wrong, because the actual value didn't change: it was an
> empty string in the config and now it remains an empty string due to the
> default value in the guc.c

I can't get very excited about that.  The existing message about
"parameter \"%s\" cannot be changed without restarting the server"
was emitted without regard to that fine point, and nobody has
complained about it.

			regards, tom lane



Commits

  1. Set pg_setting.pending_restart when pertinent config lines are removed