Re: Redhat 7.3 time manipulation bug
lockhart@fourpalms.org
From: Thomas Lockhart <lockhart@fourpalms.org>
To: Lamar Owen <lamar.owen@wgcr.org>
Cc: Manuel Sugawara <masm@fciencias.unam.mx>, PostgreSQL Hackers List <pgsql-hackers@postgresql.org>, "Trond Eivind Glomsrød " <teg@redhat.com>, brausen@yahoo.com
Date: 2002-05-21T13:30:06Z
Lists: 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