From: Tom Lane <tgl@sss.pgh.pa.us>
To: crvv.mail@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14524: Commands compare with nested subquery expressions fail with "should not reference subplan var"
Date: Thu, 02 Feb 2017 17:48:05 -0500
Message-ID: <18419.1486075685@sss.pgh.pa.us> (raw)
In-Reply-To: <20170202060020.1400.89021@wrigleys.postgresql.org>
References: <20170202060020.1400.89021@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
crvv.mail@gmail.com writes:
> SELECT '1' IN (SELECT (SELECT '1'::BOOL))
> Error message is "plan should not reference subplan's variable".
Seems to be a problem with pasting on Material nodes at the last minute.
As a short-term workaround, you might try turning off enable_material.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, crvv.mail@gmail.com
Subject: Re: BUG #14524: Commands compare with nested subquery expressions fail with "should not reference subplan var"
In-Reply-To: <18419.1486075685@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox