Re: postgresql.auto.conf and reload - Mailing list pgsql-hackers

From Tom Lane
Subject Re: postgresql.auto.conf and reload
Date
Msg-id 28635.1404844154@sss.pgh.pa.us
Whole thread Raw
In response to Re: postgresql.auto.conf and reload  (Josh Berkus <josh@agliodbs.com>)
Responses Re: postgresql.auto.conf and reload
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> On 07/08/2014 10:07 AM, Robert Haas wrote:
>> I haven't looked at the code in this area too carefully, but it seems
>> to me like the flow ought to be:
>> 
>> 1. Read all of the config files and determine what the final value
>> present in each config file is.

AFAICS we only care about the final value, not the final-value-in-each-
config-file.

>> 2. *Then*, in a second pass, enforce requirements like "can't be
>> changed except at server start".

> +1

> This would also make conf.d much more useful; I wouldn't have to worry
> as much about overlapping config settings.

> Sounds like a 9.5 feature, though.

No, ALTER SYSTEM is there now and it needs to work right in its first
release.  I will go fix this if nobody else does.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: IMPORT FOREIGN SCHEMA statement
Next
From: Amit Kapila
Date:
Subject: Re: better atomics - v0.5