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

From Tom Lane
Subject Re: create table bug with reserved words?
Date
Msg-id 2319.982250561@sss.pgh.pa.us
Whole thread Raw
In response to create table bug with reserved words?  (Chris Storah <cstorah@emis-support.demon.co.uk>)
List pgsql-bugs
Chris Storah <cstorah@emis-support.demon.co.uk> writes:
> Is this a bug - should the parser cope with any reserved words as
> identifiers?

No, and no.  If you could use them as identifiers then they wouldn't
be reserved words, would they?

Some keywords are "more reserved" than others in the Postgres parser;
see the distinction between ColId and ColLabel in gram.y if you want
the details.  AFAICT, "CALL" is not a keyword at all in Postgres.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Chris Storah
Date:
Subject: create table bug with reserved words?
Next
From: Peter Eisentraut
Date:
Subject: Re: create table bug with reserved words?