Re: dollar quoting nits

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dollar quoting nits
Дата
Msg-id 22787.1077639390@sss.pgh.pa.us
обсуждение исходный текст
Ответ на dollar quoting nits  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> 1. Is there any reason to exclude underscore as the first char of a 
> dollar quoting delimiter (after the $), e.g. $_foo_$? I'm happy either 
> way, just want to be as liberal as is reasonable.

I think we had agreed to "same rules as identifiers, except for $".

> 2. David Fetter asked me the other day if there was any limit on the 
> length of the foo inside the $foo$. I glibly told him that I thought 
> that we should treat it the same as identifiers, but I have pretty much 
> convinced myself that this is wrong.

I agree, there is no reason to truncate.
        regards, tom lane


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

Предыдущее
От: "Jonathan M. Gardner"
Дата:
Сообщение: Materialized View Summary
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: [SQL] Materialized View Summary