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

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

pgsql-bugs by date

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

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