Re: pg_config, pg_service.conf, postgresql.conf .... - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_config, pg_service.conf, postgresql.conf ....
Date
Msg-id 200603012054.k21KssF29451@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_config, pg_service.conf, postgresql.conf ....  (Mark Kirkwood <markir@paradise.net.nz>)
Responses Re: pg_config, pg_service.conf, postgresql.conf ....
List pgsql-hackers
Mark Kirkwood wrote:
> > What if we add an option to initdb to allow the user to specify the name
> > and location of the postgresql.conf file?
> 
> That is certainly a way to approach it, I see the tough bit being the 
> parsing of postgresql.conf to figure out which parts of the global 
> included file to ignore (i.e the stuff for the *other* clusters).
> 
> Would this work for the situation where you have older clusters on the 
> box (versions that don't understand 'include')?
> 
> Additionally this would need to tackle start|stop etc for all clusters...

I guess I am thinking we should move in a direction where all the
postgresql.conf files can be put in a single directory and pg_ctl would
know how to process multiple config files, rather than create a central
file with conflicts with postgresql.conf.

--  Bruce Momjian   http://candle.pha.pa.us SRA OSS, Inc.   http://www.sraoss.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: pg_config, pg_service.conf, postgresql.conf ....
Next
From: Scott Marlowe
Date:
Subject: Re: [SQL] Interval subtracting