Re: timestamp with postgresql 7.3

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: timestamp with postgresql 7.3
Дата
Msg-id 20030404140146.W97589-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на timestamp with postgresql 7.3  (Claude <pgsql-list@easynet.be>)
Ответы Re: timestamp with postgresql 7.3  (Claude <pgsql-list@easynet.be>)
Список pgsql-sql
On Fri, 4 Apr 2003, Claude wrote:

> I have a table a field with timestamps in seconds since epoch and I would
> like to get a human readable date... but it seems that postgresql 7.3 does
> not support the datetime(), timestamp(), timestamptz() functions...

I'd say probably something like:

CAST('epoch' as timestamp with time zone) + integerfield * INTERVAL '1 second'



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

Предыдущее
От: "Dan Langille"
Дата:
Сообщение: Re: timestamp with postgresql 7.3
Следующее
От: Claude
Дата:
Сообщение: Re: timestamp with postgresql 7.3