From: Steve Atkins <steve@blighty.com>
To: PG mailing List <pgsql-general@lists.postgresql.org>
Subject: Re: Question on postgresql.conf
Date: Tue, 31 Jul 2018 11:05:47 -0700
Message-ID: <F3EB3C9A-337E-45BE-B160-2DF0CE593B6F@blighty.com> (raw)
In-Reply-To: <e3a71331-3113-34d2-6bde-fe663293abb8@bmrb.wisc.edu>
References: <364bc889f8634b5a811a603a3ff725df@msx.bala.susq.com>
<2371mddjtapvrf8i7vaeoat3dmvgohplof@4ax.com>
<e3a71331-3113-34d2-6bde-fe663293abb8@bmrb.wisc.edu>
> On Jul 31, 2018, at 10:59 AM, Dimitri Maziuk <dmaziuk@bmrb.wisc.edu> wrote:
>
> On 07/31/2018 12:33 PM, George Neuner wrote:
>
>> Is there some reason that postgresql.conf cannot be a link to your
>> file?
>
> It's six of one, half a dozen of the other. The big problem is when the
> network share is unavailable at host boot and all of your databases are
> belong to bitbucket. If you want to do it right, you need chef/puppet as
> already suggested.
>
> One useful thing linux (at least) has now is conf.d directories whose
> contents are auto-included after the main config: this way you can keep
> the vendor-provided /etc/blah.conf and have all your host-specific
> settings in /etc/blah.d/myhost.conf, all living together happily ever
> after. You still want the latter to be a local file that's guaranteed
> available when blah service starts up. (Postgres devs: hint! hint!)
You'd do that with "include_dir 'conf.d'" or similar, I think, which PostgreSQL
has in all current versions.
Cheers,
Steve
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: steve@blighty.com
Subject: Re: Question on postgresql.conf
In-Reply-To: <F3EB3C9A-337E-45BE-B160-2DF0CE593B6F@blighty.com>
References: <364bc889f8634b5a811a603a3ff725df@msx.bala.susq.com> <2371mddjtapvrf8i7vaeoat3dmvgohplof@4ax.com> <e3a71331-3113-34d2-6bde-fe663293abb8@bmrb.wisc.edu> <F3EB3C9A-337E-45BE-B160-2DF0CE593B6F@blighty.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox