[SCM] PostGIS branch master updated. 3.5.0-354-gcca597a0b

git at osgeo.org git at osgeo.org
Mon Jun 2 10:01:06 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  cca597a0b28010144b8b9f4dea93c5941338e493 (commit)
      from  65789d316df326e332d4fd22032a885081766f8e (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 cca597a0b28010144b8b9f4dea93c5941338e493
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Jun 2 10:01:02 2025 -0700

    Version guard coverage_merge_strategy for earlier GEOS versions

diff --git a/postgis/lwgeom_window.c b/postgis/lwgeom_window.c
index d4007a537..7bee87d79 100644
--- a/postgis/lwgeom_window.c
+++ b/postgis/lwgeom_window.c
@@ -632,6 +632,8 @@ static char * overlapMergeStrategies[] = {
     "MERGE_MIN_INDEX"
 };
 
+#if POSTGIS_GEOS_VERSION >= 31400
+
 static int
 coverage_merge_strategy(const char *strategy)
 {
@@ -646,6 +648,8 @@ coverage_merge_strategy(const char *strategy)
 	return -1;
 }
 
+#endif
+
 /*
  * This calculation is shared by both coverage operations
  * since they have the same pattern of "consume collection,

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list