Re: union & subqueries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martin Lillepuu <martin(at)lillepuu(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: union & subqueries
Date: 2001-03-02 17:18:10
Message-ID: 3936.983553490@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Martin Lillepuu <martin(at)lillepuu(dot)com> writes:
> when I run following sql in 2 separate queries, they work fine. but when
> used as one beg statement with UNION, I get following error:
> join_references: variable not in subplan target lists

AFAICT this works OK in 7.1beta.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Gerald Gutierrez 2001-03-02 18:40:00 Temp Tables & Connection Pooling
Previous Message Stephan Szabo 2001-03-02 17:05:23 Re: Help creating rules/triggers/functions