Re: Is select_outer_pathkeys_for_merge() too strict now we have Incremental Sorts?

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Is select_outer_pathkeys_for_merge() too strict now we have Incremental Sorts?
Дата
Msg-id CAApHDvoEHWccFO73O-t6Htpa=UKzwVKTWNxPozb8dOzuLU93PA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is select_outer_pathkeys_for_merge() too strict now we have Incremental Sorts?  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-hackers
On Thu, 21 Jul 2022 at 14:23, Richard Guo <guofenglinux@gmail.com> wrote:
>
> On Thu, Jul 21, 2022 at 3:47 AM David Rowley <dgrowleyml@gmail.com> wrote:
>> Maybe your idea could be made to work in cases where
>> bms_equal(joinrel->relids, root->all_baserels). In that case, we
>> should not be processing any further joins and don't need to consider
>> that as a factor for the scoring.
>
>
> That should work, as long as this case is common enough to worth we
> writing the codes.

Thanks for looking at this patch. I've now pushed it.

David



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jacob Champion
Дата:
Сообщение: Re: [Commitfest 2022-07] is Done!
Следующее
От: Jacob Champion
Дата:
Сообщение: Re: [Commitfest 2022-07] is Done!