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.
Best,
David