Re: Special role for subscriptions

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Evgeniy Efimkin <efimkin(at)yandex-team(dot)ru>, Stephen Frost <sfrost(at)snowman(dot)net>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Дмитрий Сарафанников <dsarafan(at)yandex-team(dot)ru>, Андрей Бородин <x4mmm(at)yandex-team(dot)ru>, Владимир Бородин <root(at)simply(dot)name>
Subject: Re: Special role for subscriptions
Date: 2019-03-12 01:32:10
Message-ID: cbd0c82ac77a54e1132215bdadc86f08b42abb62.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2018-11-09 at 15:24 +0300, Evgeniy Efimkin wrote:
> Hi!
> In order to support create subscription from non-superuser, we need
> to make it possible to choose tables on the subscriber side:

I'd like to know more about the reasoning here. This thread started out
by suggesting a new special role that can be used for subscriptions,
but now it's changing the way subscription happens.

* What are the most important use cases here? Are we just trying to
avoid the unnecessary use of superuser, or is there a real use case for
subscribing to a subset of a publication?
* What are all the reasons CREATE SUBSCRIPTION currently requires
superuser?
* Is the original idea of a special role still viable?

Regards,
Jeff Davis

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhang, Jie 2019-03-12 01:37:04 [PATCH] remove repetitive characters in fdwhandler.sgml
Previous Message Chapman Flack 2019-03-12 00:07:48 Re: Suggestions on message transfer among backends