Re: running logical replication as the subscription owner - Mailing list pgsql-hackers

From Robert Haas
Subject Re: running logical replication as the subscription owner
Date
Msg-id CA+TgmoZR-EQtrhJUV8XN7GvZ==6hAfmPKdiwO6Zu89WevO_LgQ@mail.gmail.com
Whole thread Raw
In response to Re: running logical replication as the subscription owner  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On Tue, May 16, 2023 at 2:39 AM Amit Kapila <amit.kapila16@gmail.com> wrote:
> Agreed with you and Sawada-San about having a test. BTW, shall we
> slightly tweak the documentation [1]: "The subscription apply process
> will, at a session level, run with the privileges of the subscription
> owner. However, when performing an insert, update, delete, or truncate
> operation on a particular table, it will switch roles to the table
> owner and perform the operation with the table owner's privileges." to
> be bit more specific about initial sync process as well?

It doesn't seem entirely necessary to me because the initial sync is
in effect a bunch of inserts.

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: cutting down the TODO list thread
Next
From: Robert Haas
Date:
Subject: Re: cutting down the TODO list thread