Re: [PATCH] Proposal to Enable/Disable Index using ALTER INDEX

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [PATCH] Proposal to Enable/Disable Index using ALTER INDEX
Дата
Msg-id aL9whuHriv_W6Nfl@paquier.xyz
обсуждение исходный текст
Ответ на Re: [PATCH] Proposal to Enable/Disable Index using ALTER INDEX  (Robert Treat <rob@xzilla.net>)
Список pgsql-hackers
On Mon, Sep 08, 2025 at 09:37:39AM -0400, Robert Treat wrote:
> Thanks for your work on this. For those who may not be aware, Sami did
> implement a version of this in pg_hint_plan{1}, so that is helpful. I think
> it may be worth revisiting this in core, but perhaps once we seen this new
> implementation in action for a bit. (?)
>
> {1}
> https://github.com/ossc-db/pg_hint_plan/commit/d2cfd2f2c1fd18f55123b12c2250a384ccfaefaf

A side note on this one: it may make sense to implement regexp
handling in this new hint, where all the indexes matching the regexp
become ignored by the planner.  We have not done that because we
wanted to see the impact of the initial feature first.  I don't think
that this would increase the complexity footprint by a lot.
--
Michael

Вложения

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