Re: Index functions and INDEX_CREATE_SKIP_BUILD

2025-12-02 Thread Antonin Houska
Michael Paquier wrote: > On Tue, Dec 02, 2025 at 08:18:48AM +0100, Antonin Houska wrote: > > In ReindexRelationConcurrently(), the call of > > index_concurrently_create_copy() > > is enclosed in > > > > /* > > * Switch to the table owner's userid, so that any index functions are > >

Re: Index functions and INDEX_CREATE_SKIP_BUILD

2025-12-01 Thread Michael Paquier
On Tue, Dec 02, 2025 at 08:18:48AM +0100, Antonin Houska wrote: > In ReindexRelationConcurrently(), the call of index_concurrently_create_copy() > is enclosed in > > /* >* Switch to the table owner's userid, so that any index functions are >* run as that user. Also lock down

Index functions and INDEX_CREATE_SKIP_BUILD

2025-12-01 Thread Antonin Houska
In ReindexRelationConcurrently(), the call of index_concurrently_create_copy() is enclosed in /* * Switch to the table owner's userid, so that any index functions are * run as that user. Also lock down security-restricted operations * and arrange to make GUC var