From: wayne.warren@multiscalehn.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14249: In FDW, variable not found in subplan target list
Date: Thu, 14 Jul 2016 13:27:44 +0000
Message-ID: <20160714132744.1416.84821@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14249
Logged by: Wayne Warren
Email address: wayne.warren@multiscalehn.com
PostgreSQL version: 9.6beta2
Operating system: Ubuntu 14
Description:
I have written a foreign data wrapper that works with version 9.5.2. Now
with 9.6beta2 I receive "ERROR: variable not found in subplan target list"
when I refer to a column in the WHERE clause that is not also listed as a
target column:
mydb=# select record_id, addr_chg_user_id from si_ept_470
where addr_chg_instant='5441342125';
ERROR: variable not found in subplan target list
When the column is included in the target list, the correct results are
produced.
--
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: wayne.warren@multiscalehn.com
Subject: Re: BUG #14249: In FDW, variable not found in subplan target list
In-Reply-To: <20160714132744.1416.84821@wrigleys.postgresql.org>
References: <20160714132744.1416.84821@wrigleys.postgresql.org>
* 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