| От | Tom Lane |
|---|---|
| Тема | Re: How can this be legal syntax |
| Дата | |
| Msg-id | 3668.1229447786@sss.pgh.pa.us обсуждение |
| Ответ на | Re: How can this be legal syntax (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: How can this be legal syntax
|
| Список | pgsql-sql |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Asko Oja escribi�:
>> I was quite amazed to find that this piece of code actually works while
>> reviewing code.
>> I would prefer if it gave an error :)
> Yeah, me too.
As the plpgsql docs say, "The INTO clause can appear almost anywhere in
the SQL command". You can write some pretty ugly code if you choose to
:-(. Although the docs also threaten to tighten this up, it's been like
that for so long that I'm worried about how much user code we'll break
if we do.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера