Re: Unable to convert date to tm

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unable to convert date to tm
Дата
Msg-id 10949.1076882531@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Unable to convert date to tm  (Ramiro Arenas R <ramiroa@coordinadora.com>)
Список pgsql-sql
Ramiro Arenas R <ramiroa@coordinadora.com> writes:
> I have a column x in a table of type date and i have an index on x
> runing the query "SELECT * FROM table WHERE x >= '2004-01-01"
> i get this:

>  Unable to convert date to tm

AFAICT, that error message hasn't existed in PG since 7.1.  If you
are running 7.1.* or older, I'd suggest an update.  The particular
issue here seems to be that 7.1 does not contain a workaround for
broken mktime() library routines that reject dates before 1970.
        regards, tom lane


В списке pgsql-sql по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: ORDER BY TIMESTAMP_column ASC, NULL first
Следующее
От: Robert Creager
Дата:
Сообщение: Re: max timestamp