Re: variable not found in subplan target list

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Roger Niederland <roger(at)niederland(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: variable not found in subplan target list
Date: 2011-11-02 02:50:28
Message-ID: 18465.1320202228@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Roger Niederland <roger(at)niederland(dot)com> writes:
> I stripped down the original query to what is below. I am not saying
> that the query below
> is useful except to show an error I am getting in Postgresql 9.1.1 on
> both SL6.1 (64 bit) and
> Windows 2008 server 9.1.1 (32-bit and 64-bit). The error I am getting is:

> ERROR: variable not found in subplan target list

This is a pretty typical symptom of a certain class of planner bugs,
but I couldn't reproduce any such failure on the basis of what you
showed here. Please provide a *self-contained* test case.

http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2011-11-02 03:16:02 Re: Subselects in select expressions
Previous Message Roger Niederland 2011-11-02 02:46:16 Re: variable not found in subplan target list