postgresql/contrib/postgres_fdw
Alexander Korotkov c5cf99e9e5 postgres_fdw: Remove redundant check in semijoin_target_ok()
If a var belongs to the innerrel of the joinrel, it's not possible that
it belongs to the outerrel.  This commit removes the redundant check from
the if-clause but keeps it as an assertion.

Discussion: https://postgr.es/m/flat/CAHewXN=8aW4hd_W71F7Ua4+_w0=bppuvvTEBFBF6G0NuSXLwUw@mail.gmail.com
Author: Tender Wang <tndrwang@gmail.com>
Reviewed-by: Alexander Pyhalov <a.yhalov@postgrespro.ru>
Backpatch-through: 17
2025-03-25 12:49:14 +02:00
..
expected postgres_fdw: Avoid pulling up restrict infos from subqueries 2025-03-25 05:50:39 +02:00
sql postgres_fdw: Avoid pulling up restrict infos from subqueries 2025-03-25 05:50:39 +02:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
connection.c postgres_fdw: re-issue cancel requests a few times if necessary. 2024-12-23 15:14:30 -05:00
deparse.c Fixup various StringInfo function usages 2024-04-10 11:53:32 +12:00
Makefile postgres_fdw: Split out the query_cancel test to its own file 2024-07-22 12:49:57 +02:00
meson.build postgres_fdw: Split out the query_cancel test to its own file 2024-07-22 12:49:57 +02:00
option.c Fix Y2038 issues with MyStartTime. 2024-10-07 13:51:03 -05:00
postgres_fdw--1.0--1.1.sql postgres_fdw: Add functions to discard cached connections. 2021-01-26 15:35:54 +09:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c postgres_fdw: Remove redundant check in semijoin_target_ok() 2025-03-25 12:49:14 +02:00
postgres_fdw.control postgres_fdw: Add function to list cached connections to foreign servers. 2021-01-18 15:11:08 +09:00
postgres_fdw.h Make dblink interruptible, via new libpqsrv APIs. 2024-01-08 11:39:56 -08:00
shippable.c Update copyright for 2024 2024-01-03 20:49:05 -05:00