agora inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Andreas Kretschmer <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Bug, Feature, or what else?
Date: Fri, 08 Feb 2013 07:48:47 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <1000342202.25103.1360338334505.JavaMail.open-xchange@ox.ims-firmen.de>
References: <119745304.24731.1360333559327.JavaMail.open-xchange@ox.ims-firmen.de>
	<[email protected]>
	<1568445490.24920.1360335539088.JavaMail.open-xchange@ox.ims-firmen.de>
	<[email protected]>
	<609013460.25018.1360337038276.JavaMail.open-xchange@ox.ims-firmen.de>
	<[email protected]>
	<1000342202.25103.1360338334505.JavaMail.open-xchange@ox.ims-firmen.de>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-general>

On 02/08/2013 07:45 AM, Andreas Kretschmer wrote:
>
>>
>> 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?

Well I got left is:

REVOKE PUBLIC FROM ak02;

>
>
> Andreas
>
>


-- 
Adrian Klaver
[email protected]


-- 
Sent via pgsql-general mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (23+ 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], [email protected], [email protected]
  Subject: Re: Bug, Feature, or what else?
  In-Reply-To: <[email protected]>

* 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