[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-604-gb5367d629

git at osgeo.org git at osgeo.org
Mon Feb 13 15:06:38 PST 2023


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  b5367d629f3eaf09d5ae4523384d48a6b948014b (commit)
       via  1aafd8b6a7604e7dc00f9bb01dc8e5d8dc83634f (commit)
      from  12befaaa4befd6ce57dadb9dbf8797e4b9fbde65 (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 b5367d629f3eaf09d5ae4523384d48a6b948014b
Merge: 1aafd8b6a 12befaaa4
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Feb 13 15:06:34 2023 -0800

    Merge branch 'master' of https://git.osgeo.org/gitea/postgis/postgis


commit 1aafd8b6a7604e7dc00f9bb01dc8e5d8dc83634f
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Feb 13 15:06:25 2023 -0800

    Detoast Datum before casting result to pointer, references #5313

diff --git a/raster/rt_pg/rtpg_gdal.c b/raster/rt_pg/rtpg_gdal.c
index 095f4c8dd..9a982f36e 100644
--- a/raster/rt_pg/rtpg_gdal.c
+++ b/raster/rt_pg/rtpg_gdal.c
@@ -672,7 +672,7 @@ Datum RASTER_InterpolateRaster(PG_FUNCTION_ARGS)
 	LWGEOM *lwgeom;
 	double *xcoords, *ycoords, *zcoords;
 
-	GSERIALIZED *gser = (GSERIALIZED*)PG_GETARG_POINTER(0);
+	GSERIALIZED *gser = (GSERIALIZED*)PG_DETOAST_DATUM(PG_GETARG_DATUM(0));
 
 	/* Z value is required to drive the grid heights */
 	if (!gserialized_has_z(gser))

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

Summary of changes:
 raster/rt_pg/rtpg_gdal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list