Re: [ADMIN] The same role for multiple databases - Mailing list pgsql-admin

From John Scalia
Subject Re: [ADMIN] The same role for multiple databases
Date
Msg-id CABzCKRDiYTLgqTWoiHcT1zP+o-DFpVYOkw7cmFEc83oAb=ks4Q@mail.gmail.com
Whole thread Raw
In response to [ADMIN] The same role for multiple databases  (Poul Kristensen <bcc5226@gmail.com>)
Responses Re: [ADMIN] The same role for multiple databases  (Poul Kristensen <bcc5226@gmail.com>)
Re: The same role for multiple databases  (Steven Chang <stevenchang1213@gmail.com>)
List pgsql-admin
Yes, (or is that too glib?)

Roles are global in postgresql, so it's just a simple grant assignment.
--
Jay

On Fri, Mar 10, 2017 at 9:16 AM, Poul Kristensen <bcc5226@gmail.com> wrote:

Hi!

Is it possible to grant some priviliges for a role to multiple databases?

Just to illustrate:
grant all priviliges on database1 to role a. 
grant all priviliges on database2 to role a.


Thanks!

Poul





pgsql-admin by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: [ADMIN] Too many WAL file created
Next
From: Poul Kristensen
Date:
Subject: Re: [ADMIN] The same role for multiple databases