Extend pg_get_acl() to handle sub-object IDs
authorMichael Paquier <[email protected]>
Wed, 10 Jul 2024 01:14:37 +0000 (10:14 +0900)
committerMichael Paquier <[email protected]>
Wed, 10 Jul 2024 01:14:37 +0000 (10:14 +0900)
commitd898665bf7591514158954038ac43cea3240beaa
treefbb770968dcb96bfcccc6efc43a9fc30750fdea1
parentf7bd0a381de12a5c309f3c19d8c966b77e87cff3
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
doc/src/sgml/func.sgml
src/backend/catalog/objectaddress.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat
src/test/regress/expected/privileges.out
src/test/regress/sql/privileges.sql