| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: massive quotes? |
| Date: | 2003-09-12 15:33:30 |
| Message-ID: | 200309121533.h8CFXUE22600@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | 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.
>
> > 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.
Yep. If we can do C indentifiers (no digits to start), fine, if not, we
just have to disallow them.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-09-12 15:38:31 | Re: [PATCHES] Reorganization of spinlock defines |
| Previous Message | Bruce Momjian | 2003-09-12 15:28:48 | Re: [PATCHES] Reorganization of spinlock defines |