[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha2-60-g403106d

git at osgeo.org git at osgeo.org
Thu Aug 20 13:55:25 PDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  403106dd0c434d796f23a656af4744cea30add05 (commit)
      from  8886ab6db6492e41062019d4dd81b7ab9b821423 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 403106dd0c434d796f23a656af4744cea30add05
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Aug 20 22:54:32 2020 +0200

    Make ST_Subdivide interruptible

diff --git a/NEWS b/NEWS
index cf5a09a..68365de 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ Only tickets not included in 3.1.0alpha2
   - #4698, Add a precision parameter to ST_AsEWKT (Raúl Marín)
 
 * Enhancements *
+  - Make ST_Subdivide interruptable (Sandro Santilli)
   - #4660, Changes in double / coordinate printing (Raúl Marín)
         - Use the shortest representation (enough to guarantee roundtrip).
         - Uses scientific notation for absolute numbers smaller than 1e-8.
diff --git a/liblwgeom/lwgeom.c b/liblwgeom/lwgeom.c
index 84be6e5..d84c6a3 100644
--- a/liblwgeom/lwgeom.c
+++ b/liblwgeom/lwgeom.c
@@ -2280,6 +2280,8 @@ lwgeom_subdivide_recursive(const LWGEOM *geom,
 	if (!box_in)
 		return;
 
+	LW_ON_INTERRUPT(return NULL);
+
 	GBOX clip;
 	gbox_duplicate(box_in, &clip);
 	double width = clip.xmax - clip.xmin;

-----------------------------------------------------------------------

Summary of changes:
 NEWS               | 1 +
 liblwgeom/lwgeom.c | 2 ++
 2 files changed, 3 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list