pgsql: Remove unused parameters from self-join elimination functions

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unused parameters from self-join elimination functions
Date: 2026-11-02 16:59:47
Message-ID: E1xNvNr-00000001ooZ-3cEN@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unused parameters from self-join elimination functions

Remove root, from, and to from split_selfjoin_quals(), and root
from match_unique_clauses(). These parameters have been unused
since self-join elimination was committed.

Author: Tender Wang <tndrwang(at)gmail(dot)com>
Reviewed-by: Miłosz Bieniek <bieniek(dot)milosz(at)proton(dot)me>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAHewXNmwCFH5bk0ANX8wRG8Y_4c9jh8OTKceNM1W6ijDS3DzLA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5681f0cfa5acfdc5146e2b74ff5b7e940df039f3

Modified Files
--------------
src/backend/optimizer/plan/analyzejoins.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2026-11-02 20:44:07 pgsql: Handle numeric overflow in numeric_minmax_multi_ops
Previous Message Nathan Bossart 2026-11-02 16:15:06 pgsql: Fix missing tts_tid assignments in ExecForceStoreHeapTuple().