On Sat, Apr 25, 2009 at 9:52 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Daniel Grace <dgrace(at)wingsnw(dot)com> writes:
> > The following nonsensical query causes PostgreSQL to fail with ERROR:
> plan
> > should not reference subplan's variable. (This was stripped down from an
> > 'useful' query that triggered the same bug). First encountered on 8.3.4,
> > reproduced on 8.3.7
>
> Patch is here:
> http://archives.postgresql.org/pgsql-committers/2009-04/msg00277.php
>
> I still think that it won't affect you once you have the query logic
> straight, though.
>
Thanks for the info. I've since fixed the query, so you are right in that
regard ;)
-- Daniel Grace