Re: initdb failure in CVS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: initdb failure in CVS
Date
Msg-id 28418.1083853736@sss.pgh.pa.us
Whole thread Raw
In response to Re: initdb failure in CVS  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-hackers
"Andrew Dunstan" <andrew@dunslane.net> writes:
> OTOH, I wonder if maybe what we previously did w.r.t. TZ didn't work, but
> the timezone libs were smart enough to disregard an empty TZ value.

The code in variable.c clearly does *not* work on machines where
putenv() copies what you hand it :-(.  I suspect that no one noticed
because the clear_tz path isn't really used in normal situations.

I left it alone for the moment because I expect that we'll be ripping
it all out as soon as the dust settles with src/timezone.  We can define
a less brain-dead API for testing validity of a timezone name ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Is there any method to keep table in memory at startup
Next
From: Tom Lane
Date:
Subject: Re: Is there any method to keep table in memory at startup