Re: Unable to convert date to tm

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unable to convert date to tm
Дата
Msg-id 26163.1032183041@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Unable to convert date to tm  ("Joerg Ludwig" <joerg.ludwig@hvf-bs.net>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Explicit timestamp conversion very slow
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Web page