Refactor ExecGrant_*() functions Instead of half a dozen of mostly-duplicate ExecGrant_Foo() functions, write one common function ExecGrant_generic() that can handle most of them. 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: Andres Freund <[email protected]> Reviewed-by: Antonin Houska <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/22c7e802-4e7d-8d87-8b71-cba95e6f4bcf%40enterprisedb.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/369f09e420efe27359b06b69c0265f4aec5c2134 Modified Files -------------- src/backend/catalog/aclchk.c | 1050 +++++------------------------------------- 1 file changed, 124 insertions(+), 926 deletions(-)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных