pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unused parameters from self-join elimination functions
Date: Mon, 02 Nov 2026 16:59:47 +0000
Message-ID: <E1xNvNr-00000001ooZ-3cEN@gemulon.postgresql.org> (raw)

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@gmail.com>
Reviewed-by: MiƂosz Bieniek <bieniek.milosz@proton.me>
Reviewed-by: Fujii Masao <masao.fujii@gmail.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(-)



Message-ID: <E1xNvNr-00000001ooZ-3cEN@gemulon.postgresql.org>
Permalink:  ../E1xNvNr-00000001ooZ-3cEN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xNvNr-00000001ooZ-3cEN@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Remove unused parameters from self-join elimination functions
  In-Reply-To: <E1xNvNr-00000001ooZ-3cEN@gemulon.postgresql.org>
  References: <E1xNvNr-00000001ooZ-3cEN@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox