| From: | Steven Chang <stevenchang1213(at)gmail(dot)com> |
|---|---|
| To: | John Scalia <jayknowsunix(at)gmail(dot)com> |
| Cc: | Poul Kristensen <bcc5226(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
| Subject: | Re: The same role for multiple databases |
| Date: | 2017-03-25 05:01:35 |
| Message-ID: | CAEJt7k2eA9bR3YCxKaBdgTHHJQPe4bLRnu3_V20N=wqqGaZ9_w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
hello Poul,
Why not just create a super user ??
User is also a role with login privilege.
You can also grant "your superuser " to "other user" .
It's more convenient.
Br,
Steven
2017-03-10 23:17 GMT+08:00 John Scalia <jayknowsunix(at)gmail(dot)com>:
> 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(at)gmail(dot)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
>>
>>
>>
>>
>>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | gleeco | 2017-03-25 19:02:26 | is replication effected by exclusive locks? |
| Previous Message | Steven Chang | 2017-03-25 04:53:15 | Re: Best system for a data warehouse application |