Fix an oversight in uninstall_isn.sql: must drop operator families explicitly.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Nov 2008 21:19:13 +0000 (21:19 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Nov 2008 21:19:13 +0000 (21:19 +0000)
contrib/isn/uninstall_isn.sql

index cee9522c33da57eb701743442f3ec521609f0c1f..74af794ef0c2220c67ce1fe2926f39ae1ecbacef 100644 (file)
@@ -3,6 +3,10 @@
 -- Adjust this setting to control where the objects get dropped.
 SET search_path = public;
 
+-- Drop the operator families (which don't depend on the types)
+DROP OPERATOR FAMILY isn_ops USING btree CASCADE;
+DROP OPERATOR FAMILY isn_ops USING hash CASCADE;
+
 --
 --     Drop the actual types (in cascade):
 --
@@ -15,6 +19,6 @@ DROP TYPE ismn CASCADE;
 DROP TYPE issn CASCADE;
 DROP TYPE upc CASCADE;
 
+-- and clean up a couple miscellaneous functions
 DROP FUNCTION isn_weak();
 DROP FUNCTION isn_weak(boolean);
-