Re: Extend ALTER DEFAULT PRIVILEGES for large objects

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Extend ALTER DEFAULT PRIVILEGES for large objects
Date: 2025-01-22 12:30:17
Message-ID: 9c0c4d7881d2450baf70edb0ae95415a81ac8cb1.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2024-09-13 at 16:18 +0900, Yugo Nagata wrote:
> I've attached a updated patch. The test is rewritten using has_largeobject_privilege()
> function instead of calling loread & lowrite, which makes the test a bit simpler.
> Thare are no other changes.

When I tried to apply this patch, I found that it doesn't apply any
more since commit f391d9dc93 renamed tab-complete.c to tab-complete.in.c.

Attached is a rebased patch.

I agree that large objects are a feature that should fade out (alas,
the JDBC driver still uses it for BLOBs). But this patch is not big
or complicated and is unlikely to create a big maintenance burden.

So I am somewhat for committing it. It works as advertised.
If you are fine with my rebased patch, I can mark it as "ready for
committer". If it actually gets committed depends on whether there
is a committer who thinks it worth the effort or not.

Yours,
Laurenz Albe

Attachment Content-Type Size
v4-0001-Extend-ALTER-DEFAULT-PRIVILEGES-for-large-objects.patch text/x-patch 19.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Japin Li 2025-01-22 12:37:44 Re: [RFC] Lock-free XLog Reservation from WAL
Previous Message Tatsuo Ishii 2025-01-22 11:58:18 Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options