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

From Chris Storah
Subject create table bug with reserved words?
Date
Msg-id C05E7DA1218ED411BF8A00105AC95A8E016A9018@SV-CNTRMAIL
Whole thread Raw
Responses Re: create table bug with reserved words?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: create table bug with reserved words?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
There seems to be an inconsistency in the parsing of create table (possibly
other SQL syntax?):

    create table test (call int, end, int, select int);
Fails with ERROR: parser: parse error at or near "create"

    create table test (call int, end1, int, select1 int);
Works.

Call, End and Select are reserved words, but why does 'Call' work and the
others fail?
Is this a bug - should the parser cope with any reserved words as
identifiers?

Thanks,
Chris

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Explain reports unexpected results with inheritance
Next
From: Tom Lane
Date:
Subject: Re: create table bug with reserved words?