Re: Reserved words and delimited identifiers

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Reserved words and delimited identifiers
Дата
Msg-id 4ED63F3D.7080706@dunslane.net
обсуждение исходный текст
Ответ на Re: Reserved words and delimited identifiers  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Reserved words and delimited identifiers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On 11/30/2011 09:02 AM, Alvaro Herrera wrote:
> Excerpts from Joe Abbate's message of mié nov 30 02:15:09 -0300 2011:
>
>> Thanks Tom and Robert.  I think I understand the problem now.  I guess
>> I'll have to work around this "quirk" by dealing specially with type
>> names and not quote them when they're in the shorter list of SQL
>> Standard reserved words.
> I wonder if it would simpler to just not quote type names except when
> absolutely necessary.
>

Yeah, and very much less ugly. Ploughing through masses of unnecessary
quotes is they way to a headache. quote_ident() gets this right.

cheers

andrew


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Reserved words and delimited identifiers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Reserved words and delimited identifiers