[postgis-tickets] r14766 - #3460, ST_ClusterWithin 'tolerance not defined' error after upgrade
Daniel Baston
dbaston at gmail.com
Wed Mar 9 05:06:52 PST 2016
Author: dbaston
Date: 2016-03-09 05:06:52 -0800 (Wed, 09 Mar 2016)
New Revision: 14766
Modified:
trunk/postgis/postgis_drop_after.sql
Log:
#3460, ST_ClusterWithin 'tolerance not defined' error after upgrade
Modified: trunk/postgis/postgis_drop_after.sql
===================================================================
--- trunk/postgis/postgis_drop_after.sql 2016-03-09 12:10:30 UTC (rev 14765)
+++ trunk/postgis/postgis_drop_after.sql 2016-03-09 13:06:52 UTC (rev 14766)
@@ -165,3 +165,7 @@
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;
More information about the postgis-tickets
mailing list