Re: RFC: extensible planner state

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: RFC: extensible planner state
Дата
Msg-id CA+TgmoZwqO=0HoVvYnWX6YaK5Jvov2A3YhqTjgAUVG4tCxHxHQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: RFC: extensible planner state  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: RFC: extensible planner state
Список pgsql-hackers
On Fri, Sep 5, 2025 at 4:19 PM Robert Haas <robertmhaas@gmail.com> wrote:
> While mulling this over, I realized that this only works if you don't
> mind propagating information into the final plan regardless without
> knowing whether or not EXPLAIN was actually used. That's pretty sad,
[...]
> The simplest idea that comes to mind for me is to make pg_plan_query()
> take an ExplainState * argument and pass it through to planner().

Here's a new version that implements this idea and also cleans up a
few points that Melanie noted.

--
Robert Haas
EDB: http://www.enterprisedb.com

Вложения

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