Re: Overhauling GUCS - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: Overhauling GUCS
Date
Msg-id 484823C6.6030207@pse-consulting.de
Whole thread Raw
In response to Re: Overhauling GUCS  (Greg Smith <gsmith@gregsmith.com>)
List pgsql-hackers
Greg Smith wrote:
> On Thu, 5 Jun 2008, Magnus Hagander wrote:
>
>> We really need a "proper API" for it, and the stuff in pgAdmin isn't 
>> even enough to base one on.
>
> I would be curious to hear your opinion on whether the GUC overhaul 
> discussed in this thread is a useful precursor to building such a 
> proper API.

Since I'm the guy who initially wrote that config file editing stuff, I 
feel somehow addressed.
The answer is a clear ABSOLUTELY.

- The current implementation is able to edit the file directly or 
through pgsql functions; any format change will affect that function 
immediately.
- If documentation is enhanced by adding more comments in the 
postgresql.conf file, this won't help the editor because it can't rely 
on it to present help and hints to the user. It needs the comments/help 
in pg_settings or alike.


Regards,
Andreas



pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Overhauling GUCS
Next
From: Alvaro Herrera
Date:
Subject: Re: Overhauling GUCS