Re: implied FROM

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: implied FROM
Дата
Msg-id 200305020913.36152.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: implied FROM  (Tomasz Myrta <jasiek@klaster.net>)
Список pgsql-sql
Tomasz,

> There was a discussion several months ago about "missing from clause". I
> was voting for changing this warning into exception. Some people said,
> that it is very useful inside update queries. The conclusion was this
> behaviour should stay as it is. Anyway it isn't such a big problem for
> me, because the only problem is to catch "missing from clause" warning.

You'll be happy to know that Nigel Andrews just this week submitted a patch to
the 7.4 source which makes "missing from clause" a GUC option that defaults
to true.   So in future versions you will be able to set it to false, and
Postgres will throw you a fatal exception instead of assuming which data you
want.

--
Josh Berkus
Aglio Database Solutions
San Francisco



В списке pgsql-sql по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: implied FROM
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: implied FROM