pgsql: Allow makeaclitem() to accept multiple privilege names.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Allow makeaclitem() to accept multiple privilege names.
Дата
Msg-id E1o86XN-0013Le-0c@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

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(-)


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Add Windows file version information to libpq/test programs.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Remove %error-verbose directive from jsonpath parser