aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/sql
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2025-04-29 14:34:44 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2025-04-29 14:34:44 +0300
commit2260c7f6d90ecf76d3806d32890a0890688b41e8 (patch)
treeca339e2ad4f5db7da9c05b8b9f7e7ff6d83c9cdb /contrib/postgres_fdw/sql
parent15b1b4dd3fccfd2576f44841863153c312de011b (diff)
downloadpostgresql-2260c7f6d90ecf76d3806d32890a0890688b41e8.tar.gz
postgresql-2260c7f6d90ecf76d3806d32890a0890688b41e8.zip
Fixes for ChangeVarNodes_walker()
This commit fixes two bug in ChangeVarNodes_walker() function. * When considering RestrictInfo, walk down to its clauses based on the presense of relid to be deleted not just in clause_relids but also in required_relids. * Incrementally adjust num_base_rels based on the change of clause_relids instead of recalculating it using clause_relids, which could contain outer-join relids. Reported-by: Richard Guo <guofenglinux@gmail.com> Discussion: https://postgr.es/m/CAMbWs49PE3CvnV8vrQ0Dr%3DHqgZZmX0tdNbzVNJxqc8yg-8kDQQ%40mail.gmail.com Author: Andrei Lepikhov <lepihov@gmail.com> Reviewed-by: Alexander Korotkov <aekorotkov@gmail.com>
Diffstat (limited to 'contrib/postgres_fdw/sql')
0 files changed, 0 insertions, 0 deletions