Re: Add has_large_object_privilege function

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add has_large_object_privilege function
Date: 2024-09-12 10:07:22
Message-ID: 536eca81-d795-4be2-8e78-91870f1d77f0@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2024/09/10 17:45, Yugo NAGATA wrote:
> On Mon, 9 Sep 2024 22:59:34 +0900
> Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> wrote:
>
>>
>>
>> On 2024/07/02 16:34, Yugo NAGATA wrote:
>>> So, I would like to propose to add
>>> has_large_object_function for checking if a user has the privilege on a large
>>> object.
>>
>> +1
>
> Thank you for your looking into this!
> I've attached a updated patch.

Thanks for updating the patches! LGTM, except for a couple of minor things:

+okui chiba * has_largeobject_privilege_id

"okui chiba" seems to be a garbage text accidentally added.

+ * role by Oid, large object by id, and privileges as AclMode.

"Oid" seems better than "id" in "large object by id".

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2024-09-12 10:12:03 Re: Incremental Sort Cost Estimation Instability
Previous Message Aleksander Alekseev 2024-09-12 09:52:18 Re: Add 64-bit XIDs into PostgreSQL 15