Re: running logical replication as the subscription owner

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: running logical replication as the subscription owner
Дата
Msg-id CA+TgmoZR-EQtrhJUV8XN7GvZ==6hAfmPKdiwO6Zu89WevO_LgQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: running logical replication as the subscription owner  (Amit Kapila <amit.kapila16@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Matthias van de Meent
Дата:
Сообщение: Re: cutting down the TODO list thread
Следующее
От: Robert Haas
Дата:
Сообщение: Re: cutting down the TODO list thread