Re: bug or regression in plpgsql vs word window, your choice

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: bug or regression in plpgsql vs word window, your choice
Date: 2010-03-17 04:50:55
Message-ID: 6E6A9AEF-78B5-4F6D-BB75-D5E383876DA1@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message vladislav DONCHEV 2010-03-17 20:00:49 what can i do
Previous Message Robert Treat 2010-03-17 04:20:23 bug or regression in plpgsql vs word window, your choice