On Sat, Apr 22, 2017 at 8:03 PM, David G. Johnston
<david.g.johnston@gmail.com> wrote:
> On Saturday, April 22, 2017, chiru r <chirupg@gmail.com> wrote:
>>
>> Thank you Adrian.
>>
>> It seems the code is allowing only who has Superuser/Replication role
>> directly.
>>
>> Is there any possibility in future releases they allow both case A & B
>> Users able to use pg_basebackup.
>>
>
> It does not seem wise to introduce inheritance of such powerful capabilities
> when for many years now we have not done so. It seems like reality could be
> better documented but the present behavior should stay. I also find the
> original choice to be quite sane regardless.
>
> David J.
I would point out that these roles are already inheritable elsewhere,
so it's not like adding it to the connection coming from another
machine for basebackup is somehow a new thing really, just making it
act the same in both places.