pgsql: Don't pass down nonnullable_vars while reducing outer joins.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Don't pass down nonnullable_vars while reducing outer joins.
Date: 2022-11-05 19:58:59
Message-ID: E1orPJj-000aae-O1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-11-06 16:07:52 pgsql: Release notes for 15.1, 14.6, 13.9, 12.13, 11.18, 10.23.
Previous Message Tom Lane 2022-11-05 19:24:47 pgsql: Handle SubPlan cases in find_nonnullable_rels/vars.