Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Win32 regression test status

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers-win32(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Win32 regression test status
Date: 2004-02-24 15:19:56
Message-ID: 22203.1077635996@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-patches
"Andrew Dunstan" <andrew(at)dunslane(dot)net> writes:
> Claudio Natoli said:
>> 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

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

(b) is *not* an option.  We are not dumbing down our standards to
accommodate Win32.  It's bad enough that some of our platforms don't
support DST handling before 1970.  I suppose (a) is an acceptable
option if we think that Windoze users are accustomed to the idea that
they can't store dates before 1970.

The long-term solution we have talked about before is to stop depending
on libc's time library entirely, and write our own date/timezone code,
thereby getting rid of all the woolly vagaries of time support on
different platforms, not to mention the fundamental design mistakes made
in the libc time API (like the fact that there's no defined way to test
whether a timezone name is valid).  Perhaps it would be better to expend
effort on that, instead of doing the quick kluge that I think was meant
by (c).

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: George WeaverDate: 2004-02-24 15:25:35
Subject: Re: [HACKERS] Win32 regression test status
Previous:From: Claudio NatoliDate: 2004-02-24 14:19:12
Subject: Re: [HACKERS] Win32 regression test status

pgsql-patches by date

Next:From: Tom LaneDate: 2004-02-24 15:32:57
Subject: Re: Win32 regression test status
Previous:From: Devrim GUNDUZDate: 2004-02-24 13:32:06
Subject: Turkish translation of FAQ

pgsql-hackers-win32 by date

Next:From: George WeaverDate: 2004-02-24 15:25:35
Subject: Re: [HACKERS] Win32 regression test status
Previous:From: Laurent BallesterDate: 2004-02-24 15:01:26
Subject: Postmaster failed to start and/or accept connexion

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group