Re: massive quotes?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: massive quotes?
Дата
Msg-id 10663.1063375820@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: massive quotes?  (Sean Chittenden <sean@chittenden.org>)
Ответы Re: massive quotes?  (Sean Chittenden <sean@chittenden.org>)
Список pgsql-hackers
Sean Chittenden <sean@chittenden.org> writes:
> ... then @autoconf me harder@ could be used as the start and ending
> token,

Hm, I should have read your message more carefully --- I missed the bit
at the middle where you propose nearly the same idea I had ;-).  But the
flex patterns you wrote don't actually support this do they?

> @(@[^\n]+\n|[^@]*@)
> %(%[^\n]+\n|[^%]*%)
> $($[^\n]+\n|[^$]*$)

Doesn't quite seem to do what we're talking about here.

I don't see a need for three of these; that just eats up lexical token
space.  Is there a reason for the $ variant not to be enough?  In any
case, @ and % are valid (and popular) operator names in Postgres, so we
could not use them for this purpose without removing that meaning, which
would be painful.
        regards, tom lane


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

Предыдущее
От: Jon Jensen
Дата:
Сообщение: Re: massive quotes?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: massive quotes?