Re: Index functions and INDEX_CREATE_SKIP_BUILD

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Index functions and INDEX_CREATE_SKIP_BUILD
Дата
Msg-id aS_B4LBxfgP3CZeX@paquier.xyz
обсуждение исходный текст
Ответ на Re: Index functions and INDEX_CREATE_SKIP_BUILD  (Antonin Houska <ah@cybertec.at>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления: