Skip site navigation (1) Skip section navigation (2)

Bug #696: timestamp function does not work?

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #696: timestamp function does not work?
Date: 2002-06-24 12:12:09
Message-ID: 20020624121209.0B3A247606F@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Sandor, Vig (sandor(dot)vig(at)audi(dot)hu) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
timestamp function does not work?

Long Description
I've wrote an application under PHP, wich uses Postgres 7.1.
After I installed the new RedHat 7.3 with Postgres 7.2 some of my
SQLs didn't worked. Mainly thoose, with the timestamp function:

  timestamp(current_date, current_time)

does work under 7.1 but under 7.2 there is an parser error!
Why?

Sample Code
select current_date; O.K.
select current_time; O.K.
select current_timestamp; O.K.
select timestamp(current_date, current_time); Works only under 7.1!!!!

No file was uploaded with this report




Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2002-06-24 15:18:20
Subject: Re: Bug #695: Wrong Timezone offset (like bug#672)
Previous:From: Ruslan A DautkhanovDate: 2002-06-24 09:19:56
Subject: get last OID

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group