pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martins.Zarins@vestnesis.lv
To: pgsql-admin@postgresql.org
Subject: timestamp function in 7.2
Date: Wed, 27 Mar 2002 12:41:47 +0200
Message-ID: <3CA1BE0B.26590.582BD4A@localhost> (raw)

Hello all.

I'v migrated my data to 7.2.
Now I'm  testing aplications, but looks like timestamp function in 
postgres is broken:
klienti=# select date(now());
    date
------------
 2002-03-27
(1 row)

klienti=# select timestamp(date(now()));
ERROR:  parser: parse error at or near "date"

I need to make querys with timestamp(date,time);
But timestamp don't work even with sample from manual:

klienti=# select timestamp(date '1998-02-24',time '23:07');
ERROR:  parser: parse error at or near "date"

Mark



Message-ID: <3CA1BE0B.26590.582BD4A@localhost>
Permalink:  ../3CA1BE0B.26590.582BD4A@localhost/
Also on:    postgresql.org/message-id/3CA1BE0B.26590.582BD4A@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Martins.Zarins@vestnesis.lv
  Subject: Re: timestamp function in 7.2
  In-Reply-To: <3CA1BE0B.26590.582BD4A@localhost>
  References: <3CA1BE0B.26590.582BD4A@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