int4 -> unix timestamp -> sql timestamp; abstime?

Поиск
Список
Период
Сортировка
От Roman Neuhauser
Тема int4 -> unix timestamp -> sql timestamp; abstime?
Дата
Msg-id 20050111231025.GD4463@isis.wad.cz
обсуждение исходный текст
Ответы Re: int4 -> unix timestamp -> sql timestamp; abstime?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello,

what is the opposite of cast(extract('epoch' from now()) as int)?
The only thing I found that works is
cast(cast(... as abstime) as timestamp)
and the documentation says abstime shouldn't be used, and may
disappear. What should I use instead?

--
FreeBSD 4.10-STABLE
12:01AM up 15:39, 7 users, load averages: 0.08, 0.04, 0.01

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

Предыдущее
От: Eric Brown
Дата:
Сообщение: Running a void function in psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Running a void function in psql