Re: timestamp with postgresql 7.3

From: "Dan Langille" <dan(at)langille(dot)org>
To: Claude <pgsql-list(at)easynet(dot)be>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: timestamp with postgresql 7.3
Date: 2003-04-04 22:01:32
Message-ID: 3E8DBA6C.14055.194601A0@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 4 Apr 2003 at 22:18, Claude wrote:

>
> 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?

I think you need to read the 7.3 documentation and release notes.
--
Dan Langille : http://www.langille.org/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2003-04-04 22:05:02 Re: timestamp with postgresql 7.3
Previous Message Claude 2003-04-04 20:18:38 timestamp with postgresql 7.3