From: Regina Obe Date: Mon, 29 Apr 2013 05:31:44 +0000 (+0000) Subject: #2279 fix typo got smallint and int4 confused X-Git-Tag: 2.1.0beta2~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15a770e2c6b27d79a9850bc40279dd9f184372c7;p=postgis #2279 fix typo got smallint and int4 confused git-svn-id: http://svn.osgeo.org/postgis/trunk@11328 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/postgis_drop_before.sql b/postgis/postgis_drop_before.sql index 48138c7ac..8fa7cbc1a 100644 --- a/postgis/postgis_drop_before.sql +++ b/postgis/postgis_drop_before.sql @@ -48,13 +48,13 @@ BEGIN -- fix geography ops -- IF EXISTS(SELECT oprname from pg_operator where oprname = '&&' AND oprrest::text = 'geography_gist_selectivity') THEN --it is bound to old name, drop new, rename old to new, install will fix body of code - DROP FUNCTION IF EXISTS gserialized_gist_sel_nd(internal, oid, internal, smallint) ; + DROP FUNCTION IF EXISTS gserialized_gist_sel_nd(internal, oid, internal, int4) ; ALTER FUNCTION geography_gist_selectivity(internal, oid, internal, int4) RENAME TO gserialized_gist_sel_nd; END IF; IF EXISTS(SELECT oprname from pg_operator where oprname = '&&' AND oprjoin::text = 'geography_gist_join_selectivity') THEN --it is bound to old name, drop new, rename old to new, install will fix body of code - DROP FUNCTION IF EXISTS gserialized_gist_joinsel_nd(internal, oid, internal, int4) ; + DROP FUNCTION IF EXISTS gserialized_gist_joinsel_nd(internal, oid, internal, smallint) ; ALTER FUNCTION geography_gist_join_selectivity(internal, oid, internal, smallint) RENAME TO gserialized_gist_joinsel_nd; END IF; END;