[SCM] PostGIS branch master updated. 3.5.0-355-ga238dd66e

git at osgeo.org git at osgeo.org
Mon Jun 2 10:01:49 PDT 2025


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  a238dd66e38f3b4e8744501eafeb0930db21683c (commit)
      from  cca597a0b28010144b8b9f4dea93c5941338e493 (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 a238dd66e38f3b4e8744501eafeb0930db21683c
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Jun 2 10:01:46 2025 -0700

    Version guard coverage_merge_strategy for earlier GEOS versions

diff --git a/postgis/lwgeom_window.c b/postgis/lwgeom_window.c
index 7bee87d79..f431e4907 100644
--- a/postgis/lwgeom_window.c
+++ b/postgis/lwgeom_window.c
@@ -621,6 +621,8 @@ enum {
 #endif
 };
 
+#if POSTGIS_GEOS_VERSION >= 31400
+
 static char * overlapMergeStrategies[] = {
     /* Merge strategy that chooses polygon with longest common border */
     "MERGE_LONGEST_BORDER",
@@ -632,8 +634,6 @@ static char * overlapMergeStrategies[] = {
     "MERGE_MIN_INDEX"
 };
 
-#if POSTGIS_GEOS_VERSION >= 31400
-
 static int
 coverage_merge_strategy(const char *strategy)
 {

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

Summary of changes:
 postgis/lwgeom_window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list