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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: Shayon Mukherjee <shayonj@gmail.com>, Sami Imseih <samimseih@gmail.com>, Robert Treat <rob@xzilla.net>, David Rowley <dgrowleyml@gmail.com>, jian he <jian.universality@gmail.com>, Gurjeet Singh <gurjeet@singh.im>, Nathan Bossart <nathandbossart@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2025-08-04T04:39:10Z
Lists: pgsql-hackers
On Mon, Aug 04, 2025 at 12:34:14PM +0800, Julien Rouhaud wrote:
> FWIW if anyone actually needs it, that feature had existed for decades in
> plantuner: http://www.sigaev.ru/git/gitweb.cgi?p=plantuner.git;a=summary

Your link does not work here, this one does:
https://github.com/postgrespro/plantuner

Thanks for mentioning that, so it's a set of GUCs that rely on
get_relation_info_hook_type for the index filtering.
--
Michael