Re: Question on postgresql.conf

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question on postgresql.conf
Дата
Msg-id 10918.1533046893@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: Question on postgresql.conf  ("Lu, Dan" <Dan.Lu@sig.com>)
Ответы Re: Question on postgresql.conf
Список 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 по дате отправления:

Предыдущее
От: "Lu, Dan"
Дата:
Сообщение: RE: Question on postgresql.conf
Следующее
От: Matt Zagrabelny
Дата:
Сообщение: Re: Question on postgresql.conf