Re: Add has_large_object_privilege function - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Add has_large_object_privilege function
Date
Msg-id 536eca81-d795-4be2-8e78-91870f1d77f0@oss.nttdata.com
Whole thread Raw
In response to Add has_large_object_privilege function  (Yugo NAGATA <nagata@sraoss.co.jp>)
List pgsql-hackers

On 2024/09/10 17:45, Yugo NAGATA wrote:
> On Mon, 9 Sep 2024 22:59:34 +0900
> Fujii Masao <masao.fujii@oss.nttdata.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




pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15
Next
From: David Rowley
Date:
Subject: Re: Incremental Sort Cost Estimation Instability