Re: Redhat 7.3 time manipulation bug
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Manuel Sugawara <masm@fciencias.unam.mx>
Cc: Trond Eivind Glomsrød <teg@redhat.com>, Lamar Owen <lamar.owen@wgcr.org>, PostgreSQL Hackers List <pgsql-hackers@postgresql.org>
Date: 2002-05-21T23:33:20Z
Lists: pgsql-hackers
Manuel Sugawara <masm@fciencias.unam.mx> writes: > +#if 0 > /* Only years after 1970 are defined. > If year is 69, it might still be representable due to > timezone differnces. */ > if (year < 69) > return -1; > +#endif Hm. If that fixes it, it implies that all the other support for pre-1970 dates is still there (notably, entries in the timezone tables). Should we assume that future glibc releases will rip out the timezone database entries and other support for pre-1970 dates? Or is the breakage going to stop with mktime? regards, tom lane