Re: ALTER DEFAULT PRIVILEGES IN SCHEMA pg_conflict silently has no effect

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: shveta malik <shveta(dot)malik(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Nisha Moond <nisha(dot)moond412(at)gmail(dot)com>, shveta malik <shvetamalik(at)gmail(dot)com>
Subject: Re: ALTER DEFAULT PRIVILEGES IN SCHEMA pg_conflict silently has no effect
Date: 2026-12-03 05:50:01
Message-ID: CAA4eK1KwOOubbhEudK7VTUTd3veYFgedxmM1KrjCGoP5PJb0Hg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 2, 2026 at 5:41 PM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
>
> How about something like this:
>
> The conflict log table is owned by the subscription owner. To allow
> other roles to access it, privileges on it must be granted with GRANT;
> default privileges set with ALTER DEFAULT PRIVILEGES are not applied
> to it. Only the system can add or change rows in the table, so
> granting INSERT or UPDATE has no effect. Rows can be removed with
> DELETE or TRUNCATE.
>

What about SELECT along with DELETE or TRUNCATE?

--
With Regards,
Amit Kapila.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jiho Lee 2026-12-03 05:52:55 Re: Backend goes in infinite loop when a GUC_REPORT value can’t be converted to client_encoding
Previous Message Peter Smith 2026-12-03 05:23:55 Re: DOC: Minor updates for logical replication conflicts