create table bug with reserved words?
Chris Storah <cstorah@emis-support.demon.co.uk>
From: Chris Storah <cstorah@emis-support.demon.co.uk>
To: pgsql-bugs@postgresql.org
Date: 2001-02-15T13:12:03Z
Lists: 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