2008-11-29 05:19:13 +08:00
|
|
|
/* $PostgreSQL: pgsql/contrib/isn/uninstall_isn.sql,v 1.4 2008/11/28 21:19:13 tgl Exp $ */
|
2007-11-13 12:24:29 +08:00
|
|
|
|
2007-11-11 11:25:35 +08:00
|
|
|
-- Adjust this setting to control where the objects get dropped.
|
|
|
|
SET search_path = public;
|
|
|
|
|
2008-11-29 05:19:13 +08:00
|
|
|
-- 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;
|
|
|
|
|
2006-09-09 12:07:52 +08:00
|
|
|
--
|
|
|
|
-- Drop the actual types (in cascade):
|
|
|
|
--
|
|
|
|
DROP TYPE ean13 CASCADE;
|
|
|
|
DROP TYPE isbn13 CASCADE;
|
|
|
|
DROP TYPE ismn13 CASCADE;
|
|
|
|
DROP TYPE issn13 CASCADE;
|
|
|
|
DROP TYPE isbn CASCADE;
|
|
|
|
DROP TYPE ismn CASCADE;
|
|
|
|
DROP TYPE issn CASCADE;
|
|
|
|
DROP TYPE upc CASCADE;
|
|
|
|
|
2008-11-29 05:19:13 +08:00
|
|
|
-- and clean up a couple miscellaneous functions
|
2006-09-09 12:07:52 +08:00
|
|
|
DROP FUNCTION isn_weak();
|
|
|
|
DROP FUNCTION isn_weak(boolean);
|