Re: Unable to convert date to tm - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Unable to convert date to tm
Date
Msg-id 26163.1032183041@sss.pgh.pa.us
Whole thread Raw
In response to Unable to convert date to tm  ("Joerg Ludwig" <joerg.ludwig@hvf-bs.net>)
List pgsql-bugs
"Joerg Ludwig" <joerg.ludwig@hvf-bs.net> writes:
> # SELECT (date '1969-12-31')::timestamp;
> ERROR:  Unable to convert date to tm

Let me guess --- 7.3 Red Hat installation?

This is brain damage in mktime() in recent glibc releases; they
arbitrarily decided to stop supporting pre-1970 dates.

We've patched around it for Postgres 7.3, but there's no fix available
for existing PG releases.  Send complaints to the glibc folk.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Explicit timestamp conversion very slow
Next
From: Tom Lane
Date:
Subject: Re: Web page