postgres/contrib/postgres_fdw/sql
Alexander Korotkov 023fb51275 postgres_fdw: Avoid pulling up restrict infos from subqueries
Semi-join joins below left/right join are deparsed as
subqueries.  Thus, we can't refer to subqueries vars from upper relations.
This commit avoids pulling conditions from them.

Reported-by: Robins Tharakan <tharakan@gmail.com>
Bug: #18852
Discussion: https://postgr.es/m/CAEP4nAzryLd3gwcUpFBAG9MWyDfMRX8ZjuyY2XXjyC_C6k%2B_Zw%40mail.gmail.com
Author: Alexander Pyhalov <a.pyhalov@postgrespro.ru>
Reviewed-by: Alexander Korotkov <aekorotkov@gmail.com>
Backpatch-through: 17
2025-03-25 05:49:47 +02:00
..
postgres_fdw.sql postgres_fdw: Avoid pulling up restrict infos from subqueries 2025-03-25 05:49:47 +02:00
query_cancel.sql postgres_fdw: re-issue cancel requests a few times if necessary. 2024-12-23 15:14:30 -05:00