Re: allowing extensions to control planner behavior

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: allowing extensions to control planner behavior
Дата
Msg-id 5547f14e3ef116c882e6fe56a4e0c798ca50f21f.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: allowing extensions to control planner behavior  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: allowing extensions to control planner behavior
Список pgsql-hackers
On Wed, 2024-08-28 at 19:25 -0400, Tom Lane wrote:
> This does not seem remarkably problematic to me, given Robert's
> proposal of a bitmask of allowed plan types per RelOptInfo.
> You just do something like
>
>         rel->allowed_plan_types = DESIRED_PLAN_TYPE;
>
> The names of the bits you aren't setting are irrelevant to you.

I don't see that in the code yet, so I assume you are referring to the
comment at [1]?

I still like my idea to generalize the pathkey infrastructure, and
Robert asked for other approaches to consider. It would allow us to
hold onto multiple paths for longer, similar to pathkeys, which might
offer some benefits or simplifications.

Regards,
    Jeff Davis

[1]
https://www.postgresql.org/message-id/CA+TgmoZQyVxnRU--4g2bJonJ8RyJqNi2CHpy-=nwwBTNpAj71A@mail.gmail.com




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