From: Josh Berkus <josh@agliodbs.com>
To: Tomasz Myrta <jasiek@klaster.net>
To: alien@spaceship.com
Cc: pgsql-sql@postgresql.org
Subject: Re: implied FROM
Date: Fri, 2 May 2003 09:13:36 -0700
Message-ID: <200305020913.36152.josh@agliodbs.com> (raw)
In-Reply-To: <3EB21AE6.4020205@klaster.net>
References: <34943.24.243.219.116.1051841197.squirrel@earth.spaceship.com>
<3EB21AE6.4020205@klaster.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, jasiek@klaster.net, alien@spaceship.com
Subject: Re: implied FROM
In-Reply-To: <200305020913.36152.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox