Re: About the pid and opts files

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: About the pid and opts files
Дата
Msg-id
Pine.LNX.4.21.0006250256220.348-100000@localhost.localdomain
Ответ на
Список
Дерево обсуждения
About the pid and opts files Peter Eisentraut <peter_e@gmx.net>
Re: About the pid and opts files Tatsuo Ishii <t-ishii@sra.co.jp>
Re: About the pid and opts files Peter Eisentraut <peter_e@gmx.net>
Re: About the pid and opts files Peter Eisentraut <peter_e@gmx.net>
Re: About the pid and opts files Tom Lane <tgl@sss.pgh.pa.us>
Re: About the pid and opts files Peter Eisentraut <peter_e@gmx.net>
Re: About the pid and opts files Tom Lane <tgl@sss.pgh.pa.us>
I wrote:

> The main difference is that formerly you could assume that if port = 6543
> then the user necessarily gave the -p option (which isn't quite true if he
> used the environment variable, but anyway).

It occurred to me, we really do need to save the environment of the
postmaster. Consider such variables as LANG, LC_*, PATH (to find
executable), PGPORT, PGDATESTYLE, TZ. I think the safest thing is to just
save them all, unless you want to select the ones that matter.


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
Сообщение: Re: 64-bit sequences
От: Peter Eisentraut
Дата:
Сообщение: Pid file magically disappears
FAQ