RE: create table bug with reserved words? - Mailing list pgsql-bugs

From Chris Storah
Subject RE: create table bug with reserved words?
Date
Msg-id C05E7DA1218ED411BF8A00105AC95A8E016F8CE2@SV-CNTRMAIL
Whole thread Raw
In response to create table bug with reserved words?  (Chris Storah <cstorah@emis-support.demon.co.uk>)
List pgsql-bugs
Peter Eisentraut wrote:

>But since the problematic word in your case is not CALL but SELECT, I can
>tell you right away with relative certainty that it will not be possible
>to change the parser to accept SELECT as an identifier in all contexts
>without butchering the grammar beyond reason.

Just found out how MSSQL does it...it cheats!
The parser takes 'create table test (select int)' and converts it into
'create table test ([select] int)'.
I guess that this isn't an SQL92/99 compliant method :)

Thanks for the help,
Chris

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: create table bug with reserved words?
Next
From: David Lynn
Date:
Subject: Bug #194 and #195 missing version