| От | Bruno Wolff III |
|---|---|
| Тема | Re: Adding missing FROM clause - thanks or no thanks? |
| Дата | |
| Msg-id | 20040127182803.GA6328@wolff.to обсуждение исходный текст |
| Ответ на | Adding missing FROM clause - thanks or no thanks? (John Siracusa <siracusa@mindspring.com>) |
| Список | pgsql-general |
On Tue, Jan 27, 2004 at 13:00:15 -0500, John Siracusa <siracusa@mindspring.com> wrote: > > Anyway, I fixed the query construction bug, but I have a question: is this > "adding missing FROM-clause entry" behavior part of the SQL standard(s) or a > "feature" of Postgres? Prior to seeing this, I'd have expected a query like > the above to cause a fatal error in the parsing stage. Put another way, can > someone give me an example of when this behavior is useful or desirable? It is an extension. I think starting with 7.4 you can turn it off. It is sort of useful for delete where there isn't a syntax to specify addition tables, though I think you can get the same functionality even there using subselects in the where clause.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера