| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Extend pg_get_acl() to handle sub-object IDs |
| Date: | 2024-07-10 01:14:46 |
| Message-ID: | [email protected] |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Extend pg_get_acl() to handle sub-object IDs
This patch modifies the pg_get_acl() function to accept a third argument
called "objsubid", bringing it on par with similar functions in this
area like pg_describe_object(). This enables the retrieval of ACLs for
relation attributes when scanning dependencies.
Bump catalog version.
Author: Joel Jacobson
Discussion: https://postgr.es/m/[email protected]
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d898665bf7591514158954038ac43cea3240beaa
Modified Files
--------------
doc/src/sgml/func.sgml | 6 ++---
src/backend/catalog/objectaddress.c | 43 ++++++++++++++++++++++++--------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 2 +-
src/test/regress/expected/privileges.out | 32 +++++++++++++++++++++---
src/test/regress/sql/privileges.sql | 12 ++++++---
6 files changed, 73 insertions(+), 24 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2024-07-10 01:25:49 | Re: pgsql: Add pg_get_acl() to get the ACL for a database object |
| Previous Message | Andrew Dunstan | 2024-07-09 21:34:57 | pgsql: Prevent CRLF conversion of inputs in json_parser test module |