Re: Redhat 7.3 time manipulation bug

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>, PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org>, "Trond Eivind =?iso-8859-1?Q?Glomsr=F8d?=" <teg(at)redhat(dot)com>, brausen(at)yahoo(dot)com
Subject: Re: Redhat 7.3 time manipulation bug
Date: 2002-05-21 13:30:06
Message-ID: 3CEA4BDE.4E09F96E@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2002-05-21 13:38:34 Re: More schema queries
Previous Message Tom Lane 2002-05-21 13:17:29 Re: More schema queries