[SCM] PostGIS branch stable-3.5 updated. 3.5.0-12-g6b8ee4d5c

git at osgeo.org git at osgeo.org
Sun Oct 20 20:01:25 PDT 2024


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, stable-3.5 has been updated
       via  6b8ee4d5c6cd30f232c41adea39f96e60eb4b7a6 (commit)
      from  8389f4b30cf6946374475feec20fe72a97c9232e (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 6b8ee4d5c6cd30f232c41adea39f96e60eb4b7a6
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Oct 20 22:57:33 2024 -0400

    FIX copy paste error
     in postgis_proj_compiled_version
    
    Closes #5800 for PostGIS 3.5.1

diff --git a/NEWS b/NEWS
index 4dc5ffe8e..da1d98241 100644
--- a/NEWS
+++ b/NEWS
@@ -7,7 +7,7 @@ PostgreSQL 12-17 required. GEOS 3.8+ required. Proj 6.1+ required.
 * Bug fixes *
 
 - #5795, Fix ST_NewEdgesSplit can cause invalid topology
-         (Björn Harrtell
+         (Björn Harrtell)
 - #5794, Fix crash in TopoGeo_addPoint (Sandro Santilli)
 - #5785, [raster] ST_MapAlgebra segfaults when expression references
          a supernumerary rast argument (Dian M Fay)
@@ -15,6 +15,8 @@ PostgreSQL 12-17 required. GEOS 3.8+ required. Proj 6.1+ required.
          (Sandro Santilli)
 - #5791, Add legacy stubs for old transaction functions
          to allow pg_upgrade (Regina Obe)
+- #5800, PROJ compiled version reading the wrong minor and micro
+         (Regina Obe)
 
 * Enhancements *
 
diff --git a/postgis/lwgeom_transform.c b/postgis/lwgeom_transform.c
index 4786474b2..df9cf4e4d 100644
--- a/postgis/lwgeom_transform.c
+++ b/postgis/lwgeom_transform.c
@@ -237,8 +237,8 @@ Datum postgis_proj_compiled_version(PG_FUNCTION_ARGS)
     ver,
     "%d.%d.%d",
     (POSTGIS_PROJ_VERSION/10000),
-    ((POSTGIS_GEOS_VERSION%10000)/100),
-    ((POSTGIS_GEOS_VERSION)%100)
+    ((POSTGIS_PROJ_VERSION%10000)/100),
+    ((POSTGIS_PROJ_VERSION)%100)
   );
 
   result = cstring_to_text(ver);

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

Summary of changes:
 NEWS                       | 4 +++-
 postgis/lwgeom_transform.c | 4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list