Re: pg_plan_advice

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pg_plan_advice
Дата
Msg-id CA+TgmoZCYd1iEAZAYn0ie02mQ=Jc_v=8JRFdJRBDkdkOGLhBTg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_plan_advice  (Lukas Fittl <lukas@fittl.com>)
Список pgsql-hackers
On Thu, Jan 8, 2026 at 11:31 AM Lukas Fittl <lukas@fittl.com> wrote:
> Yeah, I would agree with you that is inconsistent with the flag's name
> - but on the flip side, its difficult for the caller to conditionally
> set the flag (which you'd have to do to avoid a "Disabled" showing in
> the plan), since we're setting it on the RelOptInfo (do we know if the
> scan is a sample scan at that point?).

How about checking rte->tablesample, as set_rel_pathlist does?

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



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