public inbox for [email protected]
help / color / mirror / Atom feedFrom: Sam Stearns <[email protected]>
To: Pgsql-admin <[email protected]>
Cc: Henry Ashu <[email protected]>
Cc: Julie Mather <[email protected]>
Subject: dropuser error
Date: Tue, 16 Sep 2025 13:13:58 -0700
Message-ID: <CAN6TVj=sfdK=W08kVtVOcn_QLYtFby-jVxuw+F+UYM42fkt91A@mail.gmail.com> (raw)
Howdy,
I'm trying to drop a user but getting the following error:
dropuser: error: removal of role "dalec" failed: ERROR: role "dalec"
cannot be dropped because some objects depend on it
DETAIL: 262 objects in database csbtest
I have run queries to check for ownership on tables, views, sequences,
materialized views, functions, and schemas. All return 0 (zero) rows.
Could anyone provide any advice here, please?
Thank you,
Sam
--
Samuel Stearns
Team Lead - Database
c: 971 762 6879 | o: 971 762 6879 | DAT.com
<https://www.dat.com/?utm_medium=email&utm_source=DAT_email_signature_link;
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], [email protected]
Subject: Re: dropuser error
In-Reply-To: <CAN6TVj=sfdK=W08kVtVOcn_QLYtFby-jVxuw+F+UYM42fkt91A@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