pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Gambhir Singh <gambhir.singh05@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Roles
Date: Tue, 14 Sep 2021 16:11:45 -0700
Message-ID: <c4f83533-1196-1837-d5d0-2a3deebf8a31@aklaver.com> (raw)
In-Reply-To: <CAHOGQfXt5s_cEGm3XoLJAhfzUcoaqwKHq_4+MFy7BWPRCEafnw@mail.gmail.com>
References: <CAHOGQfXt5s_cEGm3XoLJAhfzUcoaqwKHq_4+MFy7BWPRCEafnw@mail.gmail.com>

On 9/14/21 1:13 PM, Gambhir Singh wrote:
> Hi,
> 
> I'm having 4 Databases in the AWS RDS Cluster. Just wanna to know how to 
> create roles which are specific to each database, because when I'm 
> creating roles in one Database, they are visibleĀ in other Databases.

You can't, roles are global objects in a cluster.

> 
> Thanks & Regards
> Gambhir Singh
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (9+ messages)  latest in thread

Message-ID: <c4f83533-1196-1837-d5d0-2a3deebf8a31@aklaver.com>
Permalink:  ../c4f83533-1196-1837-d5d0-2a3deebf8a31@aklaver.com/
Also on:    postgresql.org/message-id/c4f83533-1196-1837-d5d0-2a3deebf8a31@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, gambhir.singh05@gmail.com
  Subject: Re: Roles
  In-Reply-To: <c4f83533-1196-1837-d5d0-2a3deebf8a31@aklaver.com>
  References: <CAHOGQfXt5s_cEGm3XoLJAhfzUcoaqwKHq_4+MFy7BWPRCEafnw@mail.gmail.com> <c4f83533-1196-1837-d5d0-2a3deebf8a31@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox