Re: Add pg_get_acl() function get the ACL for a database object

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Joel Jacobson <joel(at)compiler(dot)org>, Isaac Morland <isaac(dot)morland(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add pg_get_acl() function get the ACL for a database object
Date: 2024-06-21 03:44:48
Message-ID: 519252.1718941488@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Paquier <michael(at)paquier(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Isaac Morland 2024-06-21 03:48:19 Re: Add pg_get_acl() function get the ACL for a database object
Previous Message Peter Smith 2024-06-21 03:33:16 Re: Pgoutput not capturing the generated columns