Re: [GENERAL] pg_basebackup issue - Mailing list pgsql-general

From John R Pierce
Subject Re: [GENERAL] pg_basebackup issue
Date
Msg-id af61b55b-d2ac-c76f-01f8-e6d6bdf06589@hogranch.com
Whole thread Raw
In response to [GENERAL] pg_basebackup issue  (chiru r <chirupg@gmail.com>)
Responses Re: [GENERAL] pg_basebackup issue  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: [GENERAL] pg_basebackup issue  (chiru r <chirupg@gmail.com>)
List 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

pgsql-general by date:

Previous
From: chiru r
Date:
Subject: [GENERAL] pg_basebackup issue
Next
From: Magnus Hagander
Date:
Subject: Re: [GENERAL] Recover PostgreSQL database folder data