Re: massive quotes?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: massive quotes?
Дата
Msg-id 11506.1063380044@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: massive quotes?  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: massive quotes?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: massive quotes?  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.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.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: __cpu__ defines
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Reorganization of spinlock defines