From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Greg Smith <gsmith(at)gregsmith(dot)com> |
Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Parsing config files in a directory |
Date: | 2009-10-26 15:07:06 |
Message-ID: | 29254.1256569626@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Greg Smith <gsmith(at)gregsmith(dot)com> writes:
> People who want to continue managing just the giant postgresql.conf are
> free to collapse the initdb.conf back into the larger file instead. If we
> wanted to make that transition easier, an option to initdb saying "do
> things the old way" might make sense. I think the best we can do here is
> make a path where new users who don't ask for anything special get a setup
> that's easy for tools to work on, while not completely deprecating the old
> approach for those who want it--but you have to ask for it.
I don't think we need an explicit option for that. What we need is an
'includedir' directive at the bottom of postgresql.conf. Someone who
prefers to let manual settings override anything else might choose to
move it to the top, or even comment it out (at the cost of breaking
SET PERSISTENT). Everybody is happy, trogdolyte or otherwise.
I would personally suggest having initdb dump its settings right into
persistent.conf, rather than having a separate file for them, but it's
not a big deal either way.
(BTW, why do we actually need an includedir mechanism for this?
A simple include of a persistent.conf file seems like it would be
enough.)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Smith | 2009-10-26 15:22:45 | Re: Parsing config files in a directory |
Previous Message | Kevin Grittner | 2009-10-26 15:02:14 | Re: Parsing config files in a directory |