Allow makeaclitem() to accept multiple privilege names. Interpret its privileges argument as a comma-separated list of privilege names, as in has_table_privilege and other functions. This is actually net less code, since the support routine to parse that already exists, and we can drop convert_priv_string() which had no other use-case.
Robins Tharakan Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b762bbde30d21d6a091d44cc2cbbfb1c9550be52 Modified Files -------------- doc/src/sgml/func.sgml | 9 ++++- src/backend/utils/adt/acl.c | 66 ++++++++++---------------------- src/test/regress/expected/privileges.out | 18 +++++++++ src/test/regress/sql/privileges.sql | 8 ++++ 4 files changed, 54 insertions(+), 47 deletions(-)
