Re: Improving postgresql.conf - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: Improving postgresql.conf
Date
Msg-id 40D09643.9020900@pse-consulting.de
Whole thread Raw
In response to Re: Improving postgresql.conf  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

>
>That was another point I was about to make, which is that there are lots
>of other reasons why the active value of some config variable might not
>be what postgresql.conf says.  We are *not* ripping out the entire GUC
>facility just because some people haven't bothered to read the
>documentation about it ;-).
>
>Maybe the real problem here is that people think that postgresql.conf
>is the place to find out about current settings, and they just need to
>be re-educated to look at pg_settings or SHOW ALL instead.
>  
>

I agree. This could be supported by tools to show/edit/reload 
postgresql.conf, showing clearly what's default/running/configured.
I propose to support this by backend functions:
pg_configfile_reload()
pg_configfile_get(varname_text)
pg_configfile_set(varname_text, value_text)

to enable client tools (guess which I could think of :-) accessing 
postgresql.conf.

Regards,
Andreas




pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Improving postgresql.conf
Next
From: Andreas Pflug
Date:
Subject: Re: logfile rotation