[SCM] PostGIS branch master updated. 3.7.0rc1-73-gfdebd2075

git at osgeo.org git at osgeo.org
Tue Sep 29 09:24:49 PDT 2026


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  fdebd20754896de48367f5202e98f0fdda3c6f4f (commit)
      from  6654d414c601ec89a97710d7d9973bb437c295de (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 fdebd20754896de48367f5202e98f0fdda3c6f4f
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Sep 11 16:11:47 2026 +0200

    Expose geos revision in postgis_geos_version() / postgis_full_version()
    
    Closes #6117

diff --git a/liblwgeom/lwgeom_geos.c b/liblwgeom/lwgeom_geos.c
index a1fadbec0..a882e0c89 100644
--- a/liblwgeom/lwgeom_geos.c
+++ b/liblwgeom/lwgeom_geos.c
@@ -599,7 +599,13 @@ make_geos_segment(double x1, double y1, double x2, double y2)
 const char*
 lwgeom_geos_version()
 {
+#if POSTGIS_GEOS_VERSION >= 31600
+	static char ver[256];
+	snprintf(ver, 256, "%s %s", GEOSversion(), GEOSrevision());
+	ver[255] = '\0';
+#else
 	const char* ver = GEOSversion();
+#endif
 	return ver;
 }
 

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

Summary of changes:
 liblwgeom/lwgeom_geos.c | 6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list