Re: Suggestion to improve select pg_reload_conf()

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Suggestion to improve select pg_reload_conf()
Date: 2017-04-03 07:39:30
Message-ID: 58E1FC32.2020003@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 what is 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2017-04-03 08:12:29 Re: Suggestion to improve select pg_reload_conf()
Previous Message Thomas Kellerer 2017-04-03 07:31:15 Suggestion to improve select pg_reload_conf()