Re: implied FROM - Mailing list pgsql-sql

From Josh Berkus
Subject Re: implied FROM
Date
Msg-id 200305020913.36152.josh@agliodbs.com
Whole thread Raw
In response to Re: implied FROM  (Tomasz Myrta <jasiek@klaster.net>)
List 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 by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: implied FROM
Next
From: Stephan Szabo
Date:
Subject: Re: implied FROM