git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b6a5158) | patch
Allow makeaclitem() to accept multiple privilege names.
Sun, 3 Jul 2022 20:49:12 +0000 (16:49 -0400)
Sun, 3 Jul 2022 20:49:24 +0000 (16:49 -0400)
commit b762bbde30d21d6a091d44cc2cbbfb1c9550be52
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/e5a05dc54ba64408b3dd260171c1abaf@EX13D05UWC001.ant.amazon.com
doc/src/sgml/func.sgml diff | blob | blame | history
src/backend/utils/adt/acl.c diff | blob | blame | history
src/test/regress/expected/privileges.out diff | blob | blame | history
src/test/regress/sql/privileges.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /