problem with unixtime conversion

Поиск
Список
Период
Сортировка
От Nathan Suderman
Тема problem with unixtime conversion
Дата
Msg-id se23dd50.080@groupwise6.pollstar.com
обсуждение исходный текст
Ответы Re: problem with unixtime conversion  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: problem with unixtime conversion  (Ben <bench@silentmedia.com>)
Список pgsql-general
does anyone know why I get the following error?  running postgres 7.3.1
 

test=> select date(date_part('epoch','now'::date)::int);
ERROR:  Bad date external representation '1042502400'
 
better yet does anyone have a better way to convert unixtime back to standard readable time?

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: DATESTYLE
Следующее
От: "Ragnar Garli"
Дата:
Сообщение: Re: pg_dump fail beacuse of oid larger than int32