create table bug with reserved words?

Поиск
Список
Период
Сортировка
От Chris Storah
Тема create table bug with reserved words?
Дата
Msg-id C05E7DA1218ED411BF8A00105AC95A8E016A9018@SV-CNTRMAIL
обсуждение исходный текст
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Explain reports unexpected results with inheritance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: create table bug with reserved words?