Re: pg_basebackup issue

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_basebackup issue
Date: 2017-04-22 09:38:08
Message-ID: af61b55b-d2ac-c76f-01f8-e6d6bdf06589@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/22/2017 2:28 AM, chiru r wrote:
> I am using Postgresql 9.5 and I have created*backup_admin* user and
> created *dba_admin *ROLE with SUPERUSER and REPLICATION ,after that
> GRANT *dba_admin * role to backup_admin user and executed
> pg_basebakup utility with backup_admin user.

role group membership only inherits object rights, like grant ..... on
table ... to role. it doesn't inherit role attributes like SUPERUSER,
or REPLICATION. you need to ALTER ROLE to add these to each role.

--
john r pierce, recycling bits in santa cruz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2017-04-22 09:40:38 Re: Recover PostgreSQL database folder data
Previous Message chiru r 2017-04-22 09:28:10 pg_basebackup issue