BUG #6172: DROP EXTENSION error without CASCADE

From: "Hitoshi Harada" <umi(dot)tanuki(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6172: DROP EXTENSION error without CASCADE
Date: 2011-08-21 16:44:37
Message-ID: 201108211644.p7LGibJ1064013@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6172
Logged by: Hitoshi Harada
Email address: umi(dot)tanuki(at)gmail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2011-08-21 18:51:41 Re: Segfault with before triggers and after triggers with a WHEN clause.
Previous Message Yoran Heling 2011-08-21 12:00:55 Segfault with before triggers and after triggers with a WHEN clause.