]> granicus.if.org Git - postgis/commitdiff
#3460, ST_ClusterWithin 'tolerance not defined' error after upgrade
authorDaniel Baston <dbaston@gmail.com>
Wed, 9 Mar 2016 13:06:52 +0000 (13:06 +0000)
committerDaniel Baston <dbaston@gmail.com>
Wed, 9 Mar 2016 13:06:52 +0000 (13:06 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14766 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/postgis_drop_after.sql

index 37cca8bdbc549e9fa68dc3d60bdd964781e607f0..b5b4be39e7cc6eca2fcfdee2587877751ce25a94 100644 (file)
@@ -165,3 +165,7 @@ DROP FUNCTION IF EXISTS pgis_twkb_accum_finalfn(internal); -- temporarely introd
 DROP FUNCTION IF EXISTS st_seteffectivearea(geometry, double precision); -- temporarely introduced before 2.2.0 final
 
 DROP FUNCTION IF EXISTS geometry_distance_box_nd(geometry,geometry); -- temporarely introduced before 2.2.0 final
+
+-- pgis_abs type was increased from 8 bytes in 2.1 to 16 bytes in 2.2
+-- See #3460
+UPDATE pg_type SET typlen=16 WHERE typname='pgis_abs' AND typlen=8;