public inbox for [email protected]help / color / mirror / Atom feed
pgsql: postgres_fdw: Remove redundant check in semijoin_target_ok() 2+ messages / 1 participants [nested] [flat]
* pgsql: postgres_fdw: Remove redundant check in semijoin_target_ok() @ 2025-03-25 10:54 Alexander Korotkov <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Alexander Korotkov @ 2025-03-25 10:54 UTC (permalink / raw) To: [email protected] 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 <[email protected]> Reviewed-by: Alexander Pyhalov <[email protected]> Backpatch-through: 17 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/62f36d6924c740b5a566d64c563789d20cd4a5e1 Modified Files -------------- contrib/postgres_fdw/postgres_fdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: postgres_fdw: Remove redundant check in semijoin_target_ok() @ 2025-03-25 10:54 Alexander Korotkov <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Alexander Korotkov @ 2025-03-25 10:54 UTC (permalink / raw) To: [email protected] 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 <[email protected]> Reviewed-by: Alexander Pyhalov <[email protected]> Backpatch-through: 17 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c5cf99e9e52e99400654aa51fe6aa5a8e89bab6f Modified Files -------------- contrib/postgres_fdw/postgres_fdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2025-03-25 10:54 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-03-25 10:54 pgsql: postgres_fdw: Remove redundant check in semijoin_target_ok() Alexander Korotkov <[email protected]> 2025-03-25 10:54 pgsql: postgres_fdw: Remove redundant check in semijoin_target_ok() Alexander Korotkov <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox