timestamp with postgresql 7.3

Поиск
Список
Период
Сортировка
От Claude
Тема timestamp with postgresql 7.3
Дата
Msg-id Pine.LNX.4.51.0304042118491.26366@bar.noc.be.easynet.net
обсуждение исходный текст
Ответы Re: timestamp with postgresql 7.3  ("Dan Langille" <dan@langille.org>)
Re: timestamp with postgresql 7.3  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
Hi,

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 tried the example in:
http://archives.postgresql.org/pgsql-bugs/2002-07/msg00117.php

and get:

DB=# select val, datetime(val), "timestamp"(val), timestamptz(val) from test_table;
ERROR:  Function datetime(integer) does not exist       Unable to identify a function that satisfies the given argument
types      You may need to add explicit typecasts
 

And tried various typecasts without any success.

Any help?

---
Claude



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

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