Re: running logical replication as the subscription owner

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: running logical replication as the subscription owner
Дата
Msg-id 1e207c41315eec9682f4bff5d417d49023f5caad.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: running logical replication as the subscription owner  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: running logical replication as the subscription owner  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Fri, 2023-03-31 at 15:17 -0400, Robert Haas wrote:
> I think that's too Boolean. The special case in 0001 is a better
> solution for the cases where it works. It's both more granular and
> more convenient.

I guess the "more convenient" is where I'm confused, because the "grant
subscription_owner to table owner with set role true" is not likely to
be conveniently already present; it would need to be issued manually to
take advantage of this special case.

Do you have any concern about the weirdness where assigning the
subscription to a higher-privilege user Z would cause B's trigger to
fail?

Regards,
    Jeff Davis




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: RFC: logical publication via inheritance root?
Следующее
От: Jacob Champion
Дата:
Сообщение: Re: Data is copied twice when specifying both child and parent table in publication