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

From Tom Lane
Subject Re: Question on postgresql.conf
Date
Msg-id 10918.1533046893@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  (Matt Zagrabelny <mzagrabe@d.umn.edu>)
List pgsql-general
"Lu, Dan" <Dan.Lu@sig.com> writes:
> Question:
> Can <hostname> be a variable like `hostname` derived from Unix shell or I have to hardcode the name of the host like
"include /nfs/global/postgres-host123.cnf 

Nope, you'd have to hard-code it.

Of course, you could have the startup script that you intended to set the
env variable just overwrite $PGDATA/postgresql.conf with the right thing.

            regards, tom lane


pgsql-general by date:

Previous
From: "Lu, Dan"
Date:
Subject: RE: Question on postgresql.conf
Next
From: Matt Zagrabelny
Date:
Subject: Re: Question on postgresql.conf