Re: timestamp() broken in 7.2.4?

From: Ian Barwick <barwick(at)gmx(dot)net>
To: holger(at)marzen(dot)de, pgsql-general(at)postgresql(dot)org
Subject: Re: timestamp() broken in 7.2.4?
Date: 2003-06-26 23:04:07
Message-ID: 200306270104.07778.barwick@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday 27 June 2003 00:47, Holger Marzen wrote:
> In 7.1.3 I can use
>
> select timestamp(date '2001-01-01', time '00:00');
>
> but in 7.2.4 I get
>
> db1=# select timestamp(date '2001-01-01', time '00:00');
> ERROR: parser: parse error at or near "date"

changed in 7.2, see:
http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=release-7-2.html

"The timestamp(), time(), and interval() functions are no longer available.
Instead of timestamp(), use timestamp 'string' or CAST. "

-> something like:
select timestamp '2001-01-01 00:00';
should work

Ian Barwick
barwick(at)gmx(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2003-06-26 23:12:15 Re: timestamp() broken in 7.2.4?
Previous Message Rory Campbell-Lange 2003-06-26 22:59:41 SELECT too complex?