Re: Index functions and INDEX_CREATE_SKIP_BUILD - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Index functions and INDEX_CREATE_SKIP_BUILD
Date
Msg-id aS_B4LBxfgP3CZeX@paquier.xyz
Whole thread Raw
In response to Re: Index functions and INDEX_CREATE_SKIP_BUILD  (Antonin Houska <ah@cybertec.at>)
List pgsql-hackers
On Tue, Dec 02, 2025 at 09:07:54AM +0100, Antonin Houska wrote:
> I'm just wondering if these measures regarding GUCs and security context are
> necessary at this place. I think that no index functions should be called if
> we only create the catalog entry for the index, but I may be mistaken.

See commit a117cebd638d, particularly the test case in privileges.sql
that this commit has added with a REINDEX CONCURRENTLY at the bottom.
You should see a function execution with an assertion failure if you
attempt to remove the stack you are mentioning..
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Issues with ON CONFLICT UPDATE and REINDEX CONCURRENTLY
Next
From: Michael Paquier
Date:
Subject: Re: Extended Statistics set/restore/clear functions.