[postgis-tickets] r14767 - #3460, ST_ClusterWithin 'tolerance not defined' error after upgrade
Daniel Baston
dbaston at gmail.com
Wed Mar 9 05:07:21 PST 2016
Author: dbaston
Date: 2016-03-09 05:07:21 -0800 (Wed, 09 Mar 2016)
New Revision: 14767
Modified:
branches/2.2/NEWS
branches/2.2/postgis/postgis_drop_after.sql
Log:
#3460, ST_ClusterWithin 'tolerance not defined' error after upgrade
Modified: branches/2.2/NEWS
===================================================================
--- branches/2.2/NEWS 2016-03-09 13:06:52 UTC (rev 14766)
+++ branches/2.2/NEWS 2016-03-09 13:07:21 UTC (rev 14767)
@@ -15,6 +15,7 @@
innerBoundaryIs and no outerBoundaryIs
- #3429, upgrading to 2.3 or from 2.1 can cause loop/hang on some
platforms
+ - #3460, ST_ClusterWithin 'Tolerance not defined' error after upgrade
- #3490, Raster data restore issues, materialized views
Scripts postgis_proc_set_search_path.sql, rtpostgis_proc_set_search_path.sql
refere to http://postgis.net/docs/manual-2.2/RT_FAQ.html#faq_raster_data_not_restore
Modified: branches/2.2/postgis/postgis_drop_after.sql
===================================================================
--- branches/2.2/postgis/postgis_drop_after.sql 2016-03-09 13:06:52 UTC (rev 14766)
+++ branches/2.2/postgis/postgis_drop_after.sql 2016-03-09 13:07:21 UTC (rev 14767)
@@ -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