public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: SQL command : ALTER DATABASE OWNER TO
Date: Tue, 8 Mar 2022 09:39:11 -0500
Message-ID: <YidqjxKfp1Ao/[email protected]> (raw)
In-Reply-To: <2023185982.281851219.1646733038464.JavaMail.root@zimbra15-e2.priv.proxad.net>
References: <1216810578.281812820.1646732222284.JavaMail.root@zimbra15-e2.priv.proxad.net>
	<2023185982.281851219.1646733038464.JavaMail.root@zimbra15-e2.priv.proxad.net>

On Tue, Mar  8, 2022 at 10:50:38AM +0100, [email protected] wrote:
> 
> Hello,
> 
> for this "ALTER DATABASE" form, it should be mentioned that after execution of the command,
> the old database owner loses all his privileges on it (even connection) although it might
> still owns schemas or objects (tables, index,...) inside it.
> 
> Thanks in advance to add this important precision.

Uh, the original owner is not the owner anymore, so why would they
assume they can reconnect, unless there is some other permission
specified for them.

-- 
  Bruce Momjian  <[email protected]>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.






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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: SQL command : ALTER DATABASE OWNER TO
  In-Reply-To: <YidqjxKfp1Ao/[email protected]>

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

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