pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hitoshi Harada <umi.tanuki@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6172: DROP EXTENSION error without CASCADE
Date: Sun, 21 Aug 2011 16:44:37 GMT
Message-ID: <201108211644.p7LGibJ1064013@wwwmaster.postgresql.org> (raw)


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.



view thread (8+ messages)  latest in thread

Message-ID: <201108211644.p7LGibJ1064013@wwwmaster.postgresql.org>
Permalink:  ../201108211644.p7LGibJ1064013@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201108211644.p7LGibJ1064013@wwwmaster.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: umi.tanuki@gmail.com
  Subject: Re: BUG #6172: DROP EXTENSION error without CASCADE
  In-Reply-To: <201108211644.p7LGibJ1064013@wwwmaster.postgresql.org>
  References: <201108211644.p7LGibJ1064013@wwwmaster.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox