| From: | Sami Imseih <samimseih(at)gmail(dot)com> |
|---|---|
| To: | David Rowley <dgrowleyml(at)gmail(dot)com> |
| Cc: | Robert Treat <rob(at)xzilla(dot)net>, Shayon Mukherjee <shayonj(at)gmail(dot)com>, jian he <jian(dot)universality(at)gmail(dot)com>, Gurjeet Singh <gurjeet(at)singh(dot)im>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: [PATCH] Proposal to Enable/Disable Index using ALTER INDEX |
| Date: | 2025-07-22 23:04:50 |
| Message-ID: | CAA5RZ0vTsyjKeSpJbiDmNG-j1EsjVajjCkU46FggYWNxHpLCDQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> Now wondering if it would be better to spend the effort looking at
> pg_hint_plan and seeing how hard it would be to get global hints added
> which are applied to all queries, and then add a way to disable use of
> a named index. (I don't have any experience with that extension other
> than looking at the documentation)
Regardless of what comes out of this thread, pg_hint_plan supporting
a NoIndexScan hint that takes in an index name, and not only a relname
is needed. I plan on taking that up there.
--
Sami
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2025-07-22 23:06:11 | Re: [PATCH] Use strchr() to search for a single character |
| Previous Message | David Rowley | 2025-07-22 22:58:51 | Re: [PATCH] Use strchr() to search for a single character |