Re: Win32 regression test status - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Win32 regression test status
Date
Msg-id 2195.24.211.141.25.1077627513.squirrel@www.dunslane.net
Whole thread Raw
In response to Win32 regression test status  (Claudio Natoli <claudio.natoli@memetrics.com>)
Responses Re: Win32 regression test status  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Claudio Natoli said:
>
>
> 7 of these fail pretty much *only* due to localtime returning NULL for
> pre-1970 dates, specifically: date, timestamp, timestampz, abstime,
> tinterval, horology, arrays. To resolve this, seems like there are 3
> solutions:
>
> a) Provide "post-1970-only" versions of the expected regression test
> output, for use under win32
> b) Remove pre-1970 dates from *all* regression test files
> c) Code up "pg_localtime" for win32
>
> None of these are appealing, particularly b). Any better ideas?
>

I don't think a) and b) are options at all - pre-1970 dates have to work
as expected.

I will look at c) unless someone comes up with a better idea or someone
else gets in first.

cheers

andrew



pgsql-hackers by date:

Previous
From: Joerg Hessdoerfer
Date:
Subject: Re: Win32 regression test status
Next
From: Shridhar Daithankar
Date:
Subject: Sparc optimizations