Re: implied FROM

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tomasz Myrta <jasiek(at)klaster(dot)net>, alien(at)spaceship(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: implied FROM
Date: 2003-05-02 16:13:36
Message-ID: 200305020913.36152.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleus Mantzios 2003-05-02 16:29:34 Re: [SQL] 7.3 analyze & vacuum analyze problem
Previous Message Bruno Wolff III 2003-05-02 16:04:30 Re: implied FROM