Re: Reserved words and delimited identifiers - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Reserved words and delimited identifiers
Date
Msg-id 4ED63F3D.7080706@dunslane.net
Whole thread Raw
In response to Re: Reserved words and delimited identifiers  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Reserved words and delimited identifiers
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Reserved words and delimited identifiers
Next
From: Tom Lane
Date:
Subject: Re: Reserved words and delimited identifiers