| От | Tom Lane |
|---|---|
| Тема | Re: psql feature thought |
| Дата | |
| Msg-id | 11426.1147785952@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: psql feature thought (Michael Glaesemann <grzm@seespotcode.net>) |
| Список | pgsql-hackers |
Michael Glaesemann <grzm@seespotcode.net> writes:
> On May 16, 2006, at 14:17 , Tom Lane wrote:
>> [1] Mostly. There's the infamous continued-string-literal
>> construct...
> Are you referring to this?
> ^
> test=# SELECT 'foo'
> test-# 'bar'; -- valid
Yeah. It seems weird that a newline should be *required* there.
I think I understand why the SQL committee did that: they thoughtSELECT 'a' 'b'
was much too likely to be a syntax error and shouldn't be made into
a valid construct. But it's weird nonetheless, and awkward to
implement.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера