Re: proposal: a validator for configuration files - Mailing list pgsql-hackers

From Tom Lane
Subject Re: proposal: a validator for configuration files
Date
Msg-id 23645.1311090997@sss.pgh.pa.us
Whole thread Raw
In response to Re: proposal: a validator for configuration files  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On sön, 2011-07-17 at 00:59 -0400, Tom Lane wrote:
>> Well, we *do* have a C API for that, of a sort.  The problem is, what
>> do you do in processes that have not loaded the relevant extension?

> Those processes that have the extension loaded check the parameter
> settings in their namespace, those that don't ignore them.

Then you don't have any meaningful reporting of whether you have entered
valid values --- particularly not with the policy that only the
postmaster makes logfile entries about bad values.  It'd work but I
don't think it's tremendously user-friendly.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: storing TZ along timestamps
Next
From: Tom Lane
Date:
Subject: Re: proposal: a validator for configuration files