Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 1B3FB632CF0 for ; Mon, 23 Aug 2010 21:11:26 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 17388-06 for ; Tue, 24 Aug 2010 00:11:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id CEEE1632CD5 for ; Mon, 23 Aug 2010 21:11:18 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o7O0BFDo016095; Mon, 23 Aug 2010 20:11:15 -0400 (EDT) To: "McGehee, Robert" cc: pgsql-admin@postgresql.org Subject: Re: Unable to drop role In-reply-to: References: Comments: In-reply-to "McGehee, Robert" message dated "Mon, 23 Aug 2010 13:29:47 -0400" Date: Mon, 23 Aug 2010 20:11:15 -0400 Message-ID: <16094.1282608675@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/161 X-Sequence-Number: 35410 "McGehee, Robert" writes: > template1=# DROP ROLE a485099; > ERROR: role "a485099" cannot be dropped because some objects depend on it > DETAIL: access to database template1 > template1=# REVOKE CONNECT ON DATABASE template1 FROM a485099; > REVOKE CONNECT is not the only possible privilege. Try REVOKE ALL. regards, tom lane