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

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 (view raw or flat)
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

pgsql-bugs by date

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

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