Re: "set role" semantics

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Bryn Llewellyn <bryn(at)yugabyte(dot)com>
Cc: pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: "set role" semantics
Date: 2022-11-09 00:24:11
Message-ID: CAKFQuwbGgeKJdagniw4bd69hBMoQwW9pm2UAkzE_95Me+CGovg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Nov 8, 2022, 17:16 Bryn Llewellyn <bryn(at)yugabyte(dot)com> wrote:

>
> Notice that I didn't grant "connect" on either of the databases, "d1" or
> "d2", to any of the roles, "clstr$mgr, "d1$mgr", or "d2$mgr".
>

You didn't have to since PUBLIC gets that privilege and you didn't revoke
it.

https://www.postgresql.org/docs/current/ddl-priv.html

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2022-11-09 01:02:31 Re: "set role" semantics
Previous Message Bryn Llewellyn 2022-11-09 00:16:31 "set role" semantics