Skip to content

Commit 4cee672

Browse files
committed
Fix an oversight in uninstall_isn.sql: must drop operator families explicitly.
1 parent 213256c commit 4cee672

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

contrib/isn/uninstall_isn.sql

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
/* $PostgreSQL: pgsql/contrib/isn/uninstall_isn.sql,v 1.3 2007/11/13 04:24:28 momjian Exp $ */
1+
/* $PostgreSQL: pgsql/contrib/isn/uninstall_isn.sql,v 1.4 2008/11/28 21:19:13 tgl Exp $ */
22

33
-- Adjust this setting to control where the objects get dropped.
44
SET search_path = public;
55

6+
-- Drop the operator families (which don't depend on the types)
7+
DROP OPERATOR FAMILY isn_ops USING btree CASCADE;
8+
DROP OPERATOR FAMILY isn_ops USING hash CASCADE;
9+
610
--
711
-- Drop the actual types (in cascade):
812
--
@@ -15,6 +19,6 @@ DROP TYPE ismn CASCADE;
1519
DROP TYPE issn CASCADE;
1620
DROP TYPE upc CASCADE;
1721

22+
-- and clean up a couple miscellaneous functions
1823
DROP FUNCTION isn_weak();
1924
DROP FUNCTION isn_weak(boolean);
20-

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy