| От | Tom Lane |
|---|---|
| Тема | Re: select ... into question |
| Дата | |
| Msg-id | 17302.1051810331@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | select ... into question (Michael Meskes <meskes@postgresql.org>) |
| Список | pgsql-hackers |
Michael Meskes <meskes@postgresql.org> writes:
> our parser allows the into clause only between the target list and the
> from clause. While this is surely the was I usually use that clause,
> others dbms are different. Informix e.g. allows it also as the very last
> clause after the having clause.
> Is there a reason (standard?) why we don't allow that, or shall I go
> ahead and commit a parser change to allow this order?
SELECT INTO is so brain-damaged already that we should not enlarge the
scope of syntaxes it commandeers. (People ought to be using CREATE
TABLE AS for this, IMHO.)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера