Re: missing FROM-clause

From: Richard Huxton <dev(at)archonet(dot)com>
To: MaRCeLO PeReiRA <gandalf_mp(at)yahoo(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: missing FROM-clause
Date: 2007-02-15 11:03:27
Message-ID: 45D43DFF.2050101@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

MaRCeLO PeReiRA wrote:
> Hi guys,
>
> I upgraded my PostgreSQL server (7.4 to 8.2) and now
> all my reports refuse to run because the warning
> "missing FROM-clause".
>
> How can I disable it, just to run as the old version??
>
> I have tried:
>
> # set add_missing_from to false
>
> but, without success!! :(

set add_missing_from to true;

You can also change this in the bottom of the postgresql.conf file.

Then go through your code and fix the queries that require this.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexi Gen 2007-02-15 11:32:44 User privilege information.
Previous Message Dave Page 2007-02-15 10:10:04 Re: Stored Procedure examples