Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3qC8-0005dY-2N for pgsql-general@arkaria.postgresql.org; Fri, 08 Feb 2013 15:48:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U3qC7-000076-J7 for pgsql-general@arkaria.postgresql.org; Fri, 08 Feb 2013 15:48:55 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3qC6-000070-NB for pgsql-general@postgresql.org; Fri, 08 Feb 2013 15:48:54 +0000 Received: from mail-ia0-x22a.google.com ([2607:f8b0:4001:c02::22a]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3qC4-0000x5-7L for pgsql-general@postgresql.org; Fri, 08 Feb 2013 15:48:54 +0000 Received: by mail-ia0-f170.google.com with SMTP id k20so4366267iak.15 for ; Fri, 08 Feb 2013 07:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=TGNtnjEggxJ9zO4E/vgAjS1g887VcQkLFQT2SnRJ8rY=; b=U15X4WFRtWz9uymAjR5xbcSM0i7ZCd31imdBMqEM0x4go2068s8Oj3fqLVTNfkZDQA b9IMt7xrpmuP44ZsTBY8BSXIaeCybi6oVjJbwDvniQkxcVhgyQy+ev9EaiHFldImS4QO 5eHAKmD2FZbu/u43mzQd0Pnj2KX1sy09r+wkcgsf7cFp1BoDCdjM8RkU1L5Gcy7gw0nZ Q8xCCwzenBHhxh8SSpGaF88fLO6GKpCvy/0476Y5gD8RzHUy9m/vY0ZcheZsG0eFakek BfMMO6YarXHvo0VFbtW+yA1dRmdY9KjLZNAsxpXc1OH4u3CArAYM3/sSr5YpCsncTqIG qnIQ== X-Received: by 10.50.152.132 with SMTP id uy4mr3149639igb.62.1360338530674; Fri, 08 Feb 2013 07:48:50 -0800 (PST) Received: from [192.168.0.2] (c-24-17-164-54.hsd1.wa.comcast.net. [24.17.164.54]) by mx.google.com with ESMTPS id ig8sm15605736igc.10.2013.02.08.07.48.48 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Feb 2013 07:48:49 -0800 (PST) Message-ID: <51151E5F.70906@gmail.com> Date: Fri, 08 Feb 2013 07:48:47 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Andreas Kretschmer CC: "pgsql-general@postgresql.org" Subject: Re: Bug, Feature, or what else? References: <119745304.24731.1360333559327.JavaMail.open-xchange@ox.ims-firmen.de> <51151128.8040807@gmail.com> <1568445490.24920.1360335539088.JavaMail.open-xchange@ox.ims-firmen.de> <51151764.4090405@gmail.com> <609013460.25018.1360337038276.JavaMail.open-xchange@ox.ims-firmen.de> <51151BDA.2090101@gmail.com> <1000342202.25103.1360338334505.JavaMail.open-xchange@ox.ims-firmen.de> In-Reply-To: <1000342202.25103.1360338334505.JavaMail.open-xchange@ox.ims-firmen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org 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 adrian.klaver@gmail.com -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general