[PATCH] Cleanup: unify checks for catalog modification

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема [PATCH] Cleanup: unify checks for catalog modification
Дата
Msg-id CABRT9RB3AiULxzeTUZ-c-wpYdvfMGbxG4fPne38vtRNdm86Svw@mail.gmail.com
обсуждение исходный текст
Ответы Re: [PATCH] Cleanup: unify checks for catalog modification
Список pgsql-hackers
Hi list,

I happened to notice that there are no less than 14 places in the code
that check whether a relation is a system catalog and throwing the
error "permission denied: "foo" is a system catalog"

The attached patch factors all of those into a single
ForbidSystemTableMods() function. Is this considered an improvement?
Should I add it to CommitFest?

Regards,
Marti

Вложения

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: narwhal and PGDLLIMPORT
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: narwhal and PGDLLIMPORT