Re: config files in /data - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: config files in /data
Date
Msg-id 200005311718.NAA10742@candle.pha.pa.us
Whole thread Raw
In response to Re: config files in /data  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: config files in /data
List pgsql-hackers
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Bruce Momjian writes:
> >> Seems we should have pg_hba.conf and other files in a separate
> >> directory, not /data.
> 
> > I think the internal files, such as pg_control should be in data/base/
> > instead, so as to not mix them up with user-editable files such as
> > pg_hba.conf, `configuration' (as of 3 min ago), ident, and password files.
> 
> Doesn't that pose a risk of collision with user-chosen database names?
> Rather than restricting database names, we should keep these files in
> a different subdirectory.  I agree that it's a good idea to separate
> them from the directly-editable config files, just not to put them in
> data/base/ ...

Yes, seems user-editable files should go in pgsql/etc or pgsql/config.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: config files in /data
Next
From: Tom Lane
Date:
Subject: Re: config files in /data