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
обсуждение исходный текст
Ответ на 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>)
Список pgsql-hackers
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