Re: Cannot delete role because it depends on "default privileges"

From: Durumdara <durumdara(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Cannot delete role because it depends on "default privileges"
Date: 2016-10-21 14:19:09
Message-ID: CAEcMXhmAMk-AQ-02wOqoZPR=L6p7Lz3mSxC-wTCVeJFjQ2dm_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear Tom!

Is there any tool what can show me the dependents or dependencies?

In PGAdmin I don't see any dependencies or dependents... :-(

Thanks
dd

2016-10-21 16:08 GMT+02:00 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:

> Durumdara <durumdara(at)gmail(dot)com> writes:
> > The DB_X dropped, so I can't choose it as "actual database".
> > I tried this in a neutral database:
> > drop owned by role_x;
> > But nothing happened, the error is same.
>
> The error you are reporting is describing default privileges that
> exist in the *current* database. You need to do DROP OWNED BY
> in that database (and maybe other ones, but start there).
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Durumdara 2016-10-21 14:31:54 Re: Cannot delete role because it depends on "default privileges"
Previous Message Арсений Нестюк 2016-10-21 14:11:26 Re: Showing matrix with single query