From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Zlatko Matić <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: missing FROM clause ? |
Date: | 2005-10-27 11:31:02 |
Message-ID: | 4360BA76.3010807@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Zlatko Matić wrote:
> Hello. In Postgres 8.1 I have a message that there is a missing FROM
> clause in the following query:
>
> select into l_validity "rok_valjanosti"."rok_valjanosti" FROM (
> SELECT min("rok_valjanosti"."rv_id") AS "rv_id",
> "rok_valjanosti"."rok_valjanosti" FROM "rok_valjanosti" GROUP BY
> "rok_valjanosti"."rv_id", "rok_valjanosti"."rok_valjanosti") sve;
>
> If I change parameter "add missing from" in postgresl.conf to "on"
> than it works... I would like to include FROM clause, but can't see
> where.
That subquery is called "sve" so I think you meant
SELECT INTO l_validity svw.rok_valjanosti FROM ...
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Fuhr | 2005-10-27 11:37:02 | Re: Problem with SSL and postgreSQL 8.0.4 |
Previous Message | Michael Fuhr | 2005-10-27 11:17:26 | Re: Problem with SSL and postgreSQL 8.0.4 |