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