Re: Proposal to Enable/Disable Index using ALTER INDEX (with patch)

From: Shayon Mukherjee <shayonj(at)gmail(dot)com>
To: Sami Imseih <samimseih(at)gmail(dot)com>
Cc: jian he <jian(dot)universality(at)gmail(dot)com>, Benoit Lobréau <benoit(dot)lobreau(at)gmail(dot)com>, Michail Nikolaev <michail(dot)nikolaev(at)gmail(dot)com>, David Rowley <dgrowleyml(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Proposal to Enable/Disable Index using ALTER INDEX (with patch)
Date: 2025-04-01 22:50:28
Message-ID: CANqtF-o2i1jGKJ0V2c=N5AvHzSG4455sa=ZTNfwea_ZUEjVrHQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 1, 2025 at 2:41 PM Sami Imseih <samimseih(at)gmail(dot)com> wrote:

> I went back to look at this patch and a few things. I noticed it did
> not have correct
> indentation, so I ran pgindent. I also removed some extra lines added and
> made
> some slight adjustments to the docs. Attached my edited patch as a txt. If
> you
> agree, please revise into a v14.
>
> I also noticed that between v12 and v13, the GUC use_invisible_index
> was removed,
> but I don't see a discussion as to why. I feel it's a good GUC to have
> [0], and we should
> at least have it as a separate patch as part of this set.
>
>
My apologies, I rebased off an old commit and that's how we lost the GUC
change and also the rename from ENABLE/DISABLE to VISIBLE/INVISIBLE. I have
brought it all back, in addition to the specs and other changes mentioned
in v12. Let me know if you have any feedback, more than happy to
incorporate them.

Also, thank you for letting me know of pgindent, very handy!

I will continue reviewing the patch, but i feel this may be close to
> be marked RFC, although
> not sure if it will get a committer review before code freeze.
>

I really appreciate the reviews and guidance, thank you! Would love if this
can become part of v18 release. No worries if not of course. I am
definitely around to help get this production ready and also if any issues
arise after.

Thank you
Shayon

Attachment Content-Type Size
v14-0001-Introduce-the-ability-to-set-index-visibility-us.patch application/octet-stream 84.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2025-04-01 23:00:01 Re: Hashed IN only applied to first encountered IN
Previous Message Jacob Champion 2025-04-01 22:40:49 Re: [PoC] Federated Authn/z with OAUTHBEARER