pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Don't pass down nonnullable_vars while reducing outer joins.
Date: Sat, 05 Nov 2022 19:58:59 +0000
Message-ID: <E1orPJj-000aae-O1@gemulon.postgresql.org> (raw)

Don't pass down nonnullable_vars while reducing outer joins.

We weren't actually using the passed-down list for anything, other
than computing the new value to be passed down further.  I (tgl)
probably had the idea that we'd need this data eventually; but
no use-case has emerged in a good long while, so let's just stop
expending useless cycles here.

Richard Guo

Discussion: https://postgr.es/m/CAMbWs48KLy9aBb=sZ5MoNmnqAcGHaW_JTGWLCgoE_uMW7S6C-A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b0b72c64a0ce7bf5dd78a80b33d85c89c943ad0d

Modified Files
--------------
src/backend/optimizer/prep/prepjointree.c | 33 ++++++-------------------------
1 file changed, 6 insertions(+), 27 deletions(-)



Message-ID: <E1orPJj-000aae-O1@gemulon.postgresql.org>
Permalink:  ../E1orPJj-000aae-O1@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1orPJj-000aae-O1@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Don't pass down nonnullable_vars while reducing outer joins.
  In-Reply-To: <E1orPJj-000aae-O1@gemulon.postgresql.org>
  References: <E1orPJj-000aae-O1@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