| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера