From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lu, Dan <Dan.Lu@sig.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: Alvaro Aguayo Garcia-Rada <aaguayo@opensysperu.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Question on postgresql.conf
Date: Tue, 31 Jul 2018 09:51:55 -0400
Message-ID: <7209.1533045115@sss.pgh.pa.us> (raw)
In-Reply-To: <873ebcfde31c4aa5ad71bd2f8225a311@msx.bala.susq.com>
References: <364bc889f8634b5a811a603a3ff725df@msx.bala.susq.com>
<1725191888.48995.1533013367672.JavaMail.zimbra@adriana.opensysperu.com>
<CAKFQuwZkPcc_Ld-OLN8+9GP0K+3rD9MYiV9__eLdTF7008YFHw@mail.gmail.com>
<873ebcfde31c4aa5ad71bd2f8225a311@msx.bala.susq.com>
"Lu, Dan" <Dan.Lu@sig.com> writes:
> Say, I want to put the config file on a share drive so all my postgres configuration file can be seen in one location.
> /nfs/global/postgres-<hostname>.cnf
What I'd do is make each data directory's postgresql.conf
contain just this:
include /nfs/global/postgres-<hostname>.cnf
and then just start the postmaster without any weird switches.
In this way you will avoid breaking PG-specific tools that
expect to find the config file at its standard location.
regards, tom lane
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: tgl@sss.pgh.pa.us, Dan.Lu@sig.com, david.g.johnston@gmail.com, aaguayo@opensysperu.com
Subject: Re: Question on postgresql.conf
In-Reply-To: <7209.1533045115@sss.pgh.pa.us>
References: <364bc889f8634b5a811a603a3ff725df@msx.bala.susq.com> <1725191888.48995.1533013367672.JavaMail.zimbra@adriana.opensysperu.com> <CAKFQuwZkPcc_Ld-OLN8+9GP0K+3rD9MYiV9__eLdTF7008YFHw@mail.gmail.com> <873ebcfde31c4aa5ad71bd2f8225a311@msx.bala.susq.com> <7209.1533045115@sss.pgh.pa.us>
* 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