pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Langille <dan@langille.org>
To: Claude <pgsql-list@easynet.be>
Cc: pgsql-sql@postgresql.org
Subject: Re: timestamp with postgresql 7.3
Date: Fri, 04 Apr 2003 17:01:32 -0500
Message-ID: <3E8DBA6C.14055.194601A0@localhost> (raw)
In-Reply-To: <Pine.LNX.4.51.0304042118491.26366@bar.noc.be.easynet.net>

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/




view thread (4+ messages)  latest in thread

Message-ID: <3E8DBA6C.14055.194601A0@localhost>
Permalink:  ../3E8DBA6C.14055.194601A0@localhost/
Also on:    postgresql.org/message-id/3E8DBA6C.14055.194601A0@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dan@langille.org, pgsql-list@easynet.be
  Subject: Re: timestamp with postgresql 7.3
  In-Reply-To: <3E8DBA6C.14055.194601A0@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox