On Thu, Dec 3, 2026 at 11:53 AM Amit Kapila <[email protected]> wrote:
>
> On Thu, Dec 3, 2026 at 11:41 AM shveta malik <[email protected]> wrote:
> >
> > Okay, I see your concern. How about:
> >
> > 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. Granting SELECT, DELETE or
> > TRUNCATE allows other roles to read or remove rows. Privileges granted
> > on the table are lost if the table is dropped, for example when
> > conflict_log_destination is changed to log; they must be granted again
> > if the table is re-created by changing the option back to table or
> > all.
> >
> > <Improved the last sentence too.>
> >
>
> The last line was good as is. I mean no need for :"they must be
> granted again if the table is re-created by changing the option back
> to table or all.". That part is implicit. Other than that your
> proposed text looks good to me.

Okay. PFA v2 with the suggested changes.

thanks
Shveta

Attachment: v2-0001-Doc-explain-privileges-on-conflict-log-tables.patch
Description: Binary data

Reply via email to