Re: Add has_large_object_privilege function

2024-09-28 Thread Yugo Nagata
On Fri, 27 Sep 2024 11:44:25 +0100 Dagfinn Ilmari Mannsåker wrote: > Michael Paquier writes: > > > - New functions introduced during a development cycle should use OIDs in > > the range 8000-. See 98eab30b93d5, consisting of running > > ./unused_oids to get a random range. > > There's bee

Re: Add has_large_object_privilege function

2024-09-27 Thread Dagfinn Ilmari Mannsåker
Michael Paquier writes: > - New functions introduced during a development cycle should use OIDs in > the range 8000-. See 98eab30b93d5, consisting of running > ./unused_oids to get a random range. There's been seen several fixups of this kind recently. Should we add a note about this to th

Re: Add has_large_object_privilege function

2024-09-26 Thread Yugo NAGATA
On Thu, 26 Sep 2024 17:16:07 +0900 Michael Paquier wrote: > On Fri, Sep 13, 2024 at 03:56:11PM +0900, Yugo Nagata wrote: > > I confirmed the patches are committed in the master branch. > > Thank you! > > > > I've updated the commitfest status to "committed". > > This patch has been committed as

Re: Add has_large_object_privilege function

2024-09-26 Thread Michael Paquier
On Thu, Sep 26, 2024 at 07:51:06PM +0900, Fujii Masao wrote: > So, are you planning to commit the patch? If not, I'm happy to handle it! I have some time to look at the buildfarm today, so I'll just go do it now. Thanks for checking the patch. -- Michael signature.asc Description: PGP signature

Re: Add has_large_object_privilege function

2024-09-26 Thread Fujii Masao
On 2024/09/26 17:16, Michael Paquier wrote: On Fri, Sep 13, 2024 at 03:56:11PM +0900, Yugo Nagata wrote: I confirmed the patches are committed in the master branch. Thank you! I've updated the commitfest status to "committed". This patch has been committed as of 4eada203a5a8, and introduce

Re: Add has_large_object_privilege function

2024-09-26 Thread Michael Paquier
On Fri, Sep 13, 2024 at 03:56:11PM +0900, Yugo Nagata wrote: > I confirmed the patches are committed in the master branch. > Thank you! > > I've updated the commitfest status to "committed". This patch has been committed as of 4eada203a5a8, and introduced this block in pg_proc.dat: { oid => '455

Re: Add has_large_object_privilege function

2024-09-12 Thread Yugo Nagata
On Thu, 12 Sep 2024 19:51:33 +0900 Yugo NAGATA wrote: > On Thu, 12 Sep 2024 19:07:22 +0900 > Fujii Masao wrote: > > > > > > > On 2024/09/10 17:45, Yugo NAGATA wrote: > > > On Mon, 9 Sep 2024 22:59:34 +0900 > > > Fujii Masao wrote: > > > > > >> > > >> > > >> On 2024/07/02 16:34, Yugo NAGATA

Re: Add has_large_object_privilege function

2024-09-12 Thread Yugo NAGATA
On Thu, 12 Sep 2024 19:07:22 +0900 Fujii Masao wrote: > > > On 2024/09/10 17:45, Yugo NAGATA wrote: > > On Mon, 9 Sep 2024 22:59:34 +0900 > > Fujii Masao wrote: > > > >> > >> > >> On 2024/07/02 16:34, Yugo NAGATA wrote: > >>> So, I would like to propose to add > >>> has_large_object_function

Re: Add has_large_object_privilege function

2024-09-12 Thread Fujii Masao
On 2024/09/10 17:45, Yugo NAGATA wrote: On Mon, 9 Sep 2024 22:59:34 +0900 Fujii Masao 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

Re: Add has_large_object_privilege function

2024-09-10 Thread Yugo NAGATA
On Mon, 9 Sep 2024 22:59:34 +0900 Fujii Masao 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 attach

Re: Add has_large_object_privilege function

2024-09-09 Thread Fujii Masao
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 BTW since we already have pg_largeobject, using has_largeobject_privilege might offer better consistency. However, I'm okay wit

Add has_large_object_privilege function

2024-07-02 Thread Yugo NAGATA
>From af348b3629be07dd73fca5920f91b7309bc9d3b6 Mon Sep 17 00:00:00 2001 From: Yugo Nagata Date: Tue, 2 Jul 2024 15:12:17 +0900 Subject: [PATCH 2/2] Add has_large_object_privilege function This function is for checking whether a user has the privilege on a large object. There are three variations whose arguments are combinations