Re: bug or regression in plpgsql vs word window, your choice - Mailing list pgsql-bugs

From David E. Wheeler
Subject Re: bug or regression in plpgsql vs word window, your choice
Date
Msg-id 6E6A9AEF-78B5-4F6D-BB75-D5E383876DA1@kineticode.com
Whole thread Raw
In response to bug or regression in plpgsql vs word window, your choice  (Robert Treat <xzilla@users.sourceforge.net>)
List pgsql-bugs
On Mar 16, 2010, at 9:20 PM, Robert Treat wrote:

> The problem is with the variable name window; once I changed it things wo=
rked=20
> fine. Now, Window is supposed to be a reserved word, so I am not necessar=
ily=20
> expecting it to work any more, but this code works fine in 8.4., so I fig=
ured I=20
> ought to get an official word, and make sure it is documented as a regres=
sion=20
> for future folks if that's the case.=20

I ran into the same thing with the use of a variable named "verbose". This =
is due to Tom porting PL/pgSQL to use the core lexer. So now it's more cons=
istent about the use of reserved words.

Best,

David

pgsql-bugs by date:

Previous
From: Robert Treat
Date:
Subject: bug or regression in plpgsql vs word window, your choice
Next
From: vladislav DONCHEV
Date:
Subject: what can i do