foreign join error "variable not found in subplan target list"
Alexander Pyhalov <a.pyhalov@postgrespro.ru>
From: Alexander Pyhalov <a.pyhalov@postgrespro.ru>
To: pgsql-bugs@lists.postgresql.org
Date: 2022-08-08T15:26:44Z
Lists: pgsql-bugs
Attachments
- costs_tweaks.diff (text/x-diff) patch
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
Commits
-
postgres_fdw: Avoid 'variable not found in subplan target list' error.
- d4adff0e97f0 10.23 landed
- 07d81d1e5b75 11.18 landed
- 87fd3c9025da 12.13 landed
- 6749d4e8c71b 13.9 landed
- b53d104ae3b9 14.6 landed
- 64387c540805 15.0 landed
- 9320cfdd06e5 16.0 landed