Re: plan shape work
От | Richard Guo |
---|---|
Тема | Re: plan shape work |
Дата | |
Msg-id | CAMbWs4_bEtEwePqX-akakr616=Ex4tCRafYtTQ4UZ4b6qmkwFg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: plan shape work (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
On Sat, Sep 13, 2025 at 12:08 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > After thinking about this for awhile, I believe that Richard and I > each had half of the right solution ;-). Let me propose some new > terminology in hopes of clarifying matters: > > * A join plan node "starts" an outer join if it performs the > null-extension step corresponding to that OJ (specifically, > if it is the first join doing null-extension over the minimum > RHS of that OJ). > > * A join plan node "completes" an outer join if its output > nulls all the values that that OJ should null when done > according to syntactic order. This new notion makes a lot of sense to me. I feel that it could help us optimize some existing logic, or at least make certain parts of it easier to understand. It might be worth adding to the README, maybe under the section "Relation Identification and Qual Clause Placement", where we explain the idea behind pushed-down joins. - Richard
В списке pgsql-hackers по дате отправления: