Re: Redhat 7.3 time manipulation bug - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: Redhat 7.3 time manipulation bug
Date
Msg-id 3CEA4BDE.4E09F96E@fourpalms.org
Whole thread Raw
In response to Redhat 7.3 time manipulation bug  (Manuel Sugawara <masm@fciencias.unam.mx>)
List pgsql-hackers
...
> Our implementation is broken, then.  Thomas, is this fixable for a 7.2.x
> release, or something for 7.3?

"Our implementation is broken, then" is really not a conclusion to be
reached. The de facto behavior of mktime() on all world-class
implementations is to support pre-1970 times. This has been true forever
afaik, certainly far longer than PostgreSQL (or Postgres) has been in
existance.

Any standard which chooses to ignore pre-1970 dates is fundamentally
broken imho, and I'm really ticked off that the glibc folks have so
glibly introduced a change of this nature and magnitude without further
discussion.
                        - Thomas


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: More schema queries
Next
From: Thomas Lockhart
Date:
Subject: Re: [GENERAL] Psql 7.2.1 Regress tests failed on RedHat7.3