Re: Question on postgresql.conf - Mailing list pgsql-general

From Tom Lane
Subject Re: Question on postgresql.conf
Date
Msg-id 7209.1533045115@sss.pgh.pa.us
Whole thread Raw
In response to RE: Question on postgresql.conf  ("Lu, Dan" <Dan.Lu@sig.com>)
Responses RE: Question on postgresql.conf  ("Lu, Dan" <Dan.Lu@sig.com>)
List pgsql-general
"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


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Postgresql 10.4 installation issues on Ubuntu 14.05
Next
From: Adrian Klaver
Date:
Subject: Re: Design of a database table