Thread: pgsql: Extend pg_get_acl() to handle sub-object IDs
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/f2539bff-64be-47f0-9f0b-df85d3cc0432@app.fastmail.com 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(-)