Re: Permanent settings - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Permanent settings
Date
Msg-id 20080219171916.GG14892@alvh.no-ip.org
Whole thread Raw
In response to Re: Permanent settings  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: Permanent settings  ("Roberts, Jon" <Jon.Roberts@asurion.com>)
Re: Permanent settings  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Gregory Stark wrote:

> The alternative is to have two files and read them both. Then if you change a
> variable which is overridden by the other source you can warn that the change
> is ineffective.
> 
> I think on balance the include file method is so much simpler that I prefer it.

I think this is a good idea.  I would suggest being able to query
exactly which config file a setting came from -- so you can see whether
it's the stock postgresql.conf, or the locally-modified
postgresql.local.conf.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Including PL/PgSQL by default
Next
From: Tom Lane
Date:
Subject: Re: Severe regression in autoconf 2.61