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

Re: Bug #696: timestamp function does not work?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: sandor(dot)vig(at)audi(dot)hu, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #696: timestamp function does not work?
Date: 2002-06-24 20:56:53
Message-ID: 21242.1024952213@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
pgsql-bugs(at)postgresql(dot)org writes:
> 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!

You're gonna have to rename the function.  Sorry.

(Actually, you could double quote it instead: "timestamp"(foo,bar)
but the path of least resistance is to choose a name that is not
an SQL reserved word.)

			regards, tom lane



In response to

pgsql-bugs by date

Next:From: Gene LeungDate: 2002-06-25 09:40:42
Subject: Invalid EUC_TW character sequence found
Previous:From: Thomas LockhartDate: 2002-06-24 16:45:49
Subject: Re: Bug #696: timestamp function does not work?

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