[SCM] PostGIS branch stable-3.6 updated. 3.6.4-147-ge21da0a59

git at osgeo.org git at osgeo.org
Mon Sep 28 08:57:22 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, stable-3.6 has been updated
       via  e21da0a5927f0aa681c63e114ddd5f611e0c214f (commit)
       via  9549fc36eb37db594dc0fa4ffb9c9f9111f364f8 (commit)
      from  078722e0b17d6c4d1b5d21531da614cc0b6d193a (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 e21da0a5927f0aa681c63e114ddd5f611e0c214f
Author: Regina Obe <lr at pcorp.us>
Date:   Mon Sep 28 11:57:13 2026 -0400

    NEWS for https://trac.osgeo.org/postgis/ticket/6127 for 3.6.5

diff --git a/NEWS b/NEWS
index ff187ea36..c8d49e17f 100644
--- a/NEWS
+++ b/NEWS
@@ -84,6 +84,7 @@ PostGIS 3.6.5dev
   (Darafei Praliaskouski)
 - #6109, Out-of-bounds heap read in BOX2D_out and BOX2D_expand
   on 65-byte box2d under ASAN (Dennis Tighe, Google)
+- #6127, ToastCacheGetGeometry error on PG20 (Laurenz Albe)
 
 PostGIS 3.6.4
 2026/06/08

commit 9549fc36eb37db594dc0fa4ffb9c9f9111f364f8
Author: Regina Obe <lr at pcorp.us>
Date:   Mon Sep 28 11:52:41 2026 -0400

    Fix for postgresql-develop (now PostgreSQL 20)
    Contributed by Laurenz Albe
    Closes #6127 for PostGIS 3.6.5

diff --git a/libpgcommon/lwgeom_cache.c b/libpgcommon/lwgeom_cache.c
index 95b591504..26534ef1f 100644
--- a/libpgcommon/lwgeom_cache.c
+++ b/libpgcommon/lwgeom_cache.c
@@ -236,7 +236,11 @@ ToastCacheGetGeometry(FunctionCallInfo fcinfo, uint32_t argnum)
 		return shared_gserialized_new_nocache(datum);
 
 	/* Retrieve the unique keys for this object */
+#if POSTGIS_PGSQL_VERSION < 200
 	struct varatt_external ve;
+#else
+	struct varatt_external_oid ve;
+#endif
 	VARATT_EXTERNAL_GET_POINTER(ve, attr);
 	Oid valueid = ve.va_valueid;
 	Oid toastrelid = ve.va_toastrelid;

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

Summary of changes:
 NEWS                       | 1 +
 libpgcommon/lwgeom_cache.c | 4 ++++
 2 files changed, 5 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list