diff options
author | Alexander Korotkov | 2025-03-25 03:49:47 +0000 |
---|---|---|
committer | Alexander Korotkov | 2025-03-25 03:49:47 +0000 |
commit | 023fb512755ffb64949eb6de8464c259ca70f1bd (patch) | |
tree | 4fe850ddc23984be6ddbb090b8b9c8fa49e0dcd2 /contrib/postgres_fdw/option.c | |
parent | adb5f85fa5a00d6d5759df55feb16dc22b0fc8d7 (diff) |
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
Diffstat (limited to 'contrib/postgres_fdw/option.c')
0 files changed, 0 insertions, 0 deletions