Re: About the pid and opts files - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: About the pid and opts files
Date
Msg-id Pine.LNX.4.21.0006250256220.348-100000@localhost.localdomain
Whole thread Raw
In response to Re: About the pid and opts files  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: About the pid and opts files
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: 64-bit sequences
Next
From: Peter Eisentraut
Date:
Subject: Pid file magically disappears