Re: Reserved words and delimited identifiers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reserved words and delimited identifiers
Дата
Msg-id 28172.1322632085@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Reserved words and delimited identifiers  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I will cheerfully admit that this is confusing and inconvenient, and I
> didn't understand it either until I implemented pg_dump
> --quote-all-identifiers.  However, I'm not sure there's any easy way
> to improve the situation.

... especially without breaking compatibility with the SQL standard,
which explicitly requires that INTEGER be a keyword.  We've been around
on this before, many years ago.  By my reading of the spec, accepting
"integer" (with the quotes) as a name for the standard integer type
would actually be contrary to spec, or at least an extension in exactly
the same way that "int4" is an extension.  We could doubtless do it,
but the project gets less rewarding the more you think about the other
keyword type names required by spec.
        regards, tom lane


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

Предыдущее
От: Joe Abbate
Дата:
Сообщение: Re: Reserved words and delimited identifiers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Patch - Debug builds without optimization