public inbox for [email protected]
help / color / mirror / Atom feedFrom: Matt Zagrabelny <[email protected]>
To: [email protected] >> PG-General Mailing List <[email protected]>
Subject: schema privileges and drop role
Date: Mon, 24 Jun 2024 19:00:23 -0500
Message-ID: <CAOLfK3Wx2VMhNONFpNpnA0LCMXpQgmSadGicJ3K+LF+ayeTWxQ@mail.gmail.com> (raw)
Greetings,
I have a database that I recently changed the ownership for and now I am
attempting to drop the previous owner of the database:
test_db=# drop ROLE legacy_owner;
ERROR: role "legacy_owner" cannot be dropped because some objects depend
on it
DETAIL: privileges for schema public
I don't know where to look to find out what I need to alter to be able to
remove the legacy role and internet searches came up fruitless.
Does anyone have any hints or advice on where to look?
Thanks for the help!
-m
view thread (4+ messages) latest in thread
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]
Subject: Re: schema privileges and drop role
In-Reply-To: <CAOLfK3Wx2VMhNONFpNpnA0LCMXpQgmSadGicJ3K+LF+ayeTWxQ@mail.gmail.com>
* 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