RE: create table bug with reserved words?

Поиск
Список
Период
Сортировка
От Chris Storah
Тема RE: create table bug with reserved words?
Дата
Msg-id C05E7DA1218ED411BF8A00105AC95A8E016F8CE2@SV-CNTRMAIL
обсуждение исходный текст
Ответ на create table bug with reserved words?  (Chris Storah <cstorah@emis-support.demon.co.uk>)
Список pgsql-bugs
Peter Eisentraut wrote:

>But since the problematic word in your case is not CALL but SELECT, I can
>tell you right away with relative certainty that it will not be possible
>to change the parser to accept SELECT as an identifier in all contexts
>without butchering the grammar beyond reason.

Just found out how MSSQL does it...it cheats!
The parser takes 'create table test (select int)' and converts it into
'create table test ([select] int)'.
I guess that this isn't an SQL92/99 compliant method :)

Thanks for the help,
Chris

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: create table bug with reserved words?
Следующее
От: David Lynn
Дата:
Сообщение: Bug #194 and #195 missing version