Re: Bug, Feature, or what else?

From: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Bug, Feature, or what else?
Date: 2013-02-08 15:45:34
Message-ID: 1000342202.25103.1360338334505.JavaMail.open-xchange@ox.ims-firmen.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


>
> If I am following the Notes section correctly in:
>
> http://www.postgresql.org/docs/9.1/interactive/sql-revoke.html
>
> "If a superuser chooses to issue a GRANT or REVOKE command, the command
> is performed as though it were issued by the owner of the affected
> object. Since all privileges ultimately come from the object owner
> (possibly indirectly via chains of grant options), it is possible for a
> superuser to revoke all privileges, but this might require use of
> CASCADE as stated above."
>
>
> Try:
>
> revoke all on schema public from ak02 cascade;

Yeah, i read that before, but doesn't help:

db115150=# revoke all on schema public from ak02 cascade;
REVOKE
db115150=# drop user ak02;
FEHLER: kann Rolle »ak02« nicht löschen, weil andere Objekte davon abhängen
DETAIL: Privilegien für Schema public

Strange, isn't it?

Andreas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-02-08 15:48:47 Re: Bug, Feature, or what else?
Previous Message Adrian Klaver 2013-02-08 15:41:32 Re: Visual query builder for PosgreSQL?

Browse pgsql-hackers by date

  From Date Subject
Next Message Adrian Klaver 2013-02-08 15:48:47 Re: Bug, Feature, or what else?
Previous Message Adrian Klaver 2013-02-08 15:38:02 Re: Bug, Feature, or what else?