| От | Peter Eisentraut |
|---|---|
| Тема | Re: Dollar Quoting doc patch--resend. |
| Дата | |
| Msg-id | 200405072106.15384.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | Re: Dollar Quoting doc patch--resend. (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Список | pgsql-patches |
Bruce Momjian wrote: > Agreed we have to show both. The question is whether we should prefer > single quotes and switch to $$ only when a single quote exists in the > body, or use $$ in most cases. Of course CREATE FUNCTION should show > that both are possible, as well as $tag$. My take: If there are no single quotes inside, use '. If there are single quotes inside, use $$. If there is $$ inside, use $x$ (or some other short sequence, not the function name). This conveys the decision process we made when we designed this feature. If there are several related examples in one section, use the same method for all.
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера