From: Sandro Santilli Date: Thu, 22 Dec 2011 11:20:10 +0000 (+0000) Subject: Drop operator families, not classes (#543) X-Git-Tag: 2.0.0alpha1~365 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=629f0edc4fb5184aaa1062cbf34c0b6f91e9875f;p=postgis Drop operator families, not classes (#543) git-svn-id: http://svn.osgeo.org/postgis/trunk@8510 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/uninstall_geography.sql.in.c b/postgis/uninstall_geography.sql.in.c index ce69e0955..f1e375b2b 100644 --- a/postgis/uninstall_geography.sql.in.c +++ b/postgis/uninstall_geography.sql.in.c @@ -15,8 +15,8 @@ DROP VIEW geography_columns; -- indexes -DROP OPERATOR CLASS gist_geography_ops USING gist CASCADE; -DROP OPERATOR CLASS btree_geography_ops USING btree CASCADE; +DROP OPERATOR FAMILY gist_geography_ops USING gist CASCADE; +DROP OPERATOR FAMILY btree_geography_ops USING btree CASCADE; -- r-tree operator DROP OPERATOR && (geography,geography); diff --git a/postgis/uninstall_postgis.sql.in.c b/postgis/uninstall_postgis.sql.in.c index a4994ce09..b839ffa2f 100644 --- a/postgis/uninstall_postgis.sql.in.c +++ b/postgis/uninstall_postgis.sql.in.c @@ -477,7 +477,7 @@ DROP FUNCTION postgis_type_name(character varying, integer, boolean); -- GIST opclass index binding entries. ------------------------------------------- -DROP OPERATOR CLASS gist_geometry_ops_2d USING gist CASCADE; +DROP OPERATOR FAMILY gist_geometry_ops_2d USING gist CASCADE; -- gist support functions @@ -489,6 +489,8 @@ DROP FUNCTION geometry_gist_penalty_2d(internal,internal,internal); DROP FUNCTION geometry_gist_compress_2d(internal); DROP FUNCTION geometry_gist_consistent_2d(internal,geometry,int4); +DROP OPERATOR FAMILY gist_geometry_ops_nd USING gist CASCADE; + DROP FUNCTION geometry_gist_compress_nd(internal); DROP FUNCTION geometry_gist_decompress_nd(internal); DROP FUNCTION geometry_gist_penalty_nd(internal, internal, internal); @@ -536,6 +538,7 @@ DROP FUNCTION geometry_gist_sel_2d (internal, oid, internal, int4); -- DROP OPERATOR CLASS btree_geometry_ops USING btree; +DROP OPERATOR FAMILY btree_geometry_ops USING btree; DROP OPERATOR > (geometry,geometry); DROP OPERATOR >= (geometry,geometry); DROP OPERATOR = (geometry,geometry);