public inbox for [email protected]  
help / color / mirror / Atom feed
From: sami l <[email protected]>
To: Sam Stearns <[email protected]>
Cc: Pgsql-admin <[email protected]>
Cc: Henry Ashu <[email protected]>
Cc: Julie Mather <[email protected]>
Subject: Re: dropuser error
Date: Tue, 16 Sep 2025 23:26:08 +0300
Message-ID: <CAGu5A9DbX7W+YzkMzi-t4=N8MYun_gM+ZV9AF3oAjZXc8nfycg@mail.gmail.com> (raw)
In-Reply-To: <CAN6TVj=sfdK=W08kVtVOcn_QLYtFby-jVxuw+F+UYM42fkt91A@mail.gmail.com>
References: <CAN6TVj=sfdK=W08kVtVOcn_QLYtFby-jVxuw+F+UYM42fkt91A@mail.gmail.com>

Hi,
Did you check the priviliges?

*Sami LEKESİZ*


16 Eyl 2025 Sal, saat 23:14 tarihinde Sam Stearns <[email protected]>
şunu yazdı:

> 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], [email protected]
  Subject: Re: dropuser error
  In-Reply-To: <CAGu5A9DbX7W+YzkMzi-t4=N8MYun_gM+ZV9AF3oAjZXc8nfycg@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