]> granicus.if.org Git - postgis/commitdiff
#2279 fix typo got smallint and int4 confused
authorRegina Obe <lr@pcorp.us>
Mon, 29 Apr 2013 05:31:44 +0000 (05:31 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 29 Apr 2013 05:31:44 +0000 (05:31 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11328 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/postgis_drop_before.sql

index 48138c7ac08307a6d87ad4fa6f9f582387e88fbb..8fa7cbc1a9c125854e8d6df58867726b233b60b3 100644 (file)
@@ -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;