Re: Suggestion to improve select pg_reload_conf()

Поиск
Список
Период
Сортировка
От Achilleas Mantzios
Тема Re: Suggestion to improve select pg_reload_conf()
Дата
Msg-id 58E1FC32.2020003@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на Suggestion to improve select pg_reload_conf()  (Thomas Kellerer <spam_eater@gmx.net>)
Ответы Re: Suggestion to improve select pg_reload_conf()  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
On 03/04/2017 10:31, Thomas Kellerer wrote:
> I would like to suggest an improvement to the select pg_reload_conf() function.
>
> Currently this will only return true or false indicating if reloading was successful.
>
> I think it would be a "nice-to-have" if the function would also return the GUCs that have been changed, similar to
whatis being written to the logfile. 
>
> To not break existing code (e.g. scripts that only expect true/false), this could be done through an optional boolean
parameter(e.g. named "verbose"). 
To my understanding pg_reload_conf just SIGHUP's the postmaster. So it might not be so trivial.
>
> Any thoughts?
>
> Thomas
>
>
>


--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt



В списке pgsql-general по дате отправления:

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Suggestion to improve select pg_reload_conf()
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Suggestion to improve select pg_reload_conf()