pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Dominique Devienne <ddevienne@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: About revoking large number of privileges; And the PUBLIC role.
Date: Fri, 15 Jul 2022 13:33:20 -0400
Message-ID: <20220715173320.GD9030@tamriel.snowman.net> (raw)
In-Reply-To: <CAFCRh-9Z6V2wt4EsCZMo+wvXBf=sSN9de2Tst-fE99WYTE4Q9Q@mail.gmail.com>
References: <CAFCRh-9Z6V2wt4EsCZMo+wvXBf=sSN9de2Tst-fE99WYTE4Q9Q@mail.gmail.com>

Greetings,

* Dominique Devienne (ddevienne@gmail.com) wrote:
> So my goal is to delete all those "db specific" ROLEs, then the DB
> with all its schemas.

If you want to drop the database anyway.. then why not simply do that
first?  Nothing can be connected to a DB that's being dropped and we
don't actually try to lock all the objects in a to-be-dropped DB.

Thanks,

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (6+ messages)

Message-ID: <20220715173320.GD9030@tamriel.snowman.net>
Permalink:  ../20220715173320.GD9030@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20220715173320.GD9030@tamriel.snowman.net

 · 

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: sfrost@snowman.net, ddevienne@gmail.com
  Subject: Re: About revoking large number of privileges; And the PUBLIC role.
  In-Reply-To: <20220715173320.GD9030@tamriel.snowman.net>
  References: <CAFCRh-9Z6V2wt4EsCZMo+wvXBf=sSN9de2Tst-fE99WYTE4Q9Q@mail.gmail.com> <20220715173320.GD9030@tamriel.snowman.net>

* 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