| От | Tom Lane |
|---|---|
| Тема | Re: Trailing semicolons in psql patch |
| Дата | |
| Msg-id | 29061.1001808825@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Trailing semicolons in psql patch (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Trailing semicolons in psql patch
|
| Список | pgsql-patches |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> The basic issue is that I think we can conclude that any trailing
> semicolon on a line with a backslash command can be dropped.
I agree with this premise ... but stated that way, the patch does
entirely the wrong thing, because it's stripping trailing semis at
the word level not the line level. I think it's a lot more surprising
to drop the semi in
\x foo; bar
than when it's actually at the end of the line.
How about stripping trailing semis (perhaps whitespace too?) before
the line is broken into words?
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера