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