Re: Add pg_get_acl() function get the ACL for a database object - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Add pg_get_acl() function get the ACL for a database object
Date
Msg-id 519252.1718941488@sss.pgh.pa.us
Whole thread Raw
In response to Re: Add pg_get_acl() function get the ACL for a database object  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Add pg_get_acl() function get the ACL for a database object
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> On Thu, Jun 20, 2024 at 08:32:57AM +0200, Joel Jacobson wrote:
>> I've added overloaded versions for regclass and regproc so far:
>>
>> \df pg_get_acl
>> List of functions
>> Schema   |    Name    | Result data type |  Argument data types   | Type
>> ------------+------------+------------------+------------------------+------
>> pg_catalog | pg_get_acl | aclitem[]        | classid oid, objid oid | func
>> pg_catalog | pg_get_acl | aclitem[]        | objid regclass         | func
>> pg_catalog | pg_get_acl | aclitem[]        | objid regproc          | func
>> (3 rows)

> Interesting idea.

Doesn't that result in "cannot resolve ambiguous function call"
failures?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Pgoutput not capturing the generated columns
Next
From: Isaac Morland
Date:
Subject: Re: Add pg_get_acl() function get the ACL for a database object