On Mar 16, 2010, at 9:20 PM, Robert Treat wrote:
> The problem is with the variable name window; once I changed it things worked
> fine. Now, Window is supposed to be a reserved word, so I am not necessarily
> expecting it to work any more, but this code works fine in 8.4., so I figured I
> ought to get an official word, and make sure it is documented as a regression
> for future folks if that's the case.
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 consistent about the use of reserved words.
In response to
pgsql-bugs by date
|Next:||From: vladislav DONCHEV||Date: 2010-03-17 20:00:49|
|Subject: what can i do|
|Previous:||From: Robert Treat||Date: 2010-03-17 04:20:23|
|Subject: bug or regression in plpgsql vs word window, your choice|