pgsql: Refactor recordExtObjInitPriv()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Refactor recordExtObjInitPriv()
Дата
Msg-id E1pHrPg-004AkX-Rp@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Refactor recordExtObjInitPriv()

Instead of half a dozen of mostly-duplicate conditional branches,
write one common one that can handle most catalogs.  We already have
all the information we need, such as which system catalog corresponds
to which catalog table and which column is the ACL column.

Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/504bc485-6bd6-dd1b-fe10-e7351aeb310d@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2a1d7071c4ed750abb8b39436bb89c7d152bddb8

Modified Files
--------------
src/backend/catalog/aclchk.c | 152 +++----------------------------------------
1 file changed, 8 insertions(+), 144 deletions(-)


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