From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: massive quotes? |
Date: | 2003-09-12 15:44:08 |
Message-ID: | 3F61E9C8.9020206@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
>Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>
>>I'd like to see pg_dump use this mechanism for quoting, at least for
>>function bodies. I guess it could retrieve the text and then keep
>>generating delimiters until it found one that didn't occur inside the
>>text.
>>
>>
>
>Right, that was what I had in mind.
>
>
great
>
>
>>Maybe for that purpose we could allow underscores as well as
>>letters - I don't think that should introduce any extra ambiguities.
>>Alternatively, or as well, maybe leading and trailing digits could be
>>disallowed, but embedded digits could be allowed. IOW let's be as
>>liberal as possible without breaking things.
>>
>>
>
><shrug> I'd prefer to keep the rules as simple as possible. No
>particular objection to underscores, but allowing digits in only some
>places seems confusing.
>
>
>
We already do - you can't begin an identifier with a digit. I'm not
dogmatic about it, though. I'd be more than happy with just what you
proposed.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-09-12 15:45:04 | Re: [PATCHES] Reorganization of spinlock defines |
Previous Message | Tom Lane | 2003-09-12 15:43:35 | Re: [PATCHES] Reorganization of spinlock defines |