Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 587D3B5DBE0 for ; Sun, 21 Aug 2011 13:44:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 65067-02 for ; Sun, 21 Aug 2011 16:44:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 93F0DB5DBD0 for ; Sun, 21 Aug 2011 13:44:38 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p7LGibab064014 for ; Sun, 21 Aug 2011 16:44:37 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p7LGibJ1064013; Sun, 21 Aug 2011 16:44:37 GMT (envelope-from www) Date: Sun, 21 Aug 2011 16:44:37 GMT Message-Id: <201108211644.p7LGibJ1064013@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6172: DROP EXTENSION error without CASCADE From: "Hitoshi Harada" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201108/121 X-Sequence-Number: 30933 The following bug has been logged online: Bug reference: 6172 Logged by: Hitoshi Harada Email address: umi.tanuki@gmail.com PostgreSQL version: 9.1RC1 Operating system: Windows7 Description: DROP EXTENSION error without CASCADE Details: On pure-installed RC1 database, you can CREATE EXTENSION, but cannot DROP it. CREATE EXTENSION cube; DROP EXTENSION cube; ERROR: cannot drop extension cube because other objects depend on it DETAIL: operator <>(cube,cube) depends on function cube_ne(cube,cube) operator >(cube,cube) depends on function cube_gt(cube,cube) operator <=(cube,cube) depends on function cube_le(cube,cube) operator >=(cube,cube) depends on function cube_ge(cube,cube) operator <@(cube,cube) depends on function cube_contained(cube,cube) operator ~(cube,cube) depends on function cube_contained(cube,cube) HINT: Use DROP ... CASCADE to drop the dependent objects too. DROP EXTENSION ... CASCADE; works but without CASCADE should work as source build on Linux does it.