"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