foreign join error "variable not found in subplan target list" - Mailing list pgsql-bugs

From Alexander Pyhalov
Subject foreign join error "variable not found in subplan target list"
Date
Msg-id cfb17bf6dfdf876467bd5ef533852d18@postgrespro.ru
Whole thread Raw
Responses Re: foreign join error "variable not found in subplan target list"
List pgsql-bugs
Hi.

Using the following patch I'm able to get
"ERROR:  variable not found in subplan target list"
on foreign join pushdown for update returning.
It seems that we generate Result node which has 7 vars in targetlist 
over Sort plan node, which has only 6 vars in targetlist.

So far not sure what causes this.

-- 
Best regards,
Alexander Pyhalov,
Postgres Professional
Attachment

pgsql-bugs by date:

Previous
From: Алексей Борщёв
Date:
Subject: Re: BUG #17575: row(NULL) IS NULL inconsistent with IS NOT DISTINCT FROM NULL
Next
From: Etsuro Fujita
Date:
Subject: Re: foreign join error "variable not found in subplan target list"