Re: create table bug with reserved words?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chris Storah <cstorah(at)emis-support(dot)demon(dot)co(dot)uk>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: create table bug with reserved words?
Date: 2001-02-15 15:22:41
Message-ID: 2319.982250561@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Chris Storah <cstorah(at)emis-support(dot)demon(dot)co(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2001-02-15 18:00:17 Re: create table bug with reserved words?
Previous Message Chris Storah 2001-02-15 13:12:03 create table bug with reserved words?