[SCM] PostGIS branch master updated. 3.6.0rc2-394-gb2b07453d

git at osgeo.org git at osgeo.org
Mon Mar 16 13:19:54 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  b2b07453dcfbe5c99c3e9d841adb8fe8ab44971e (commit)
      from  7c18321e17bfba6d24600e39d11271616ae71124 (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 b2b07453dcfbe5c99c3e9d841adb8fe8ab44971e
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Mar 16 13:19:48 2026 -0700

    Build on latest Pg19 master

diff --git a/postgis/flatgeobuf.c b/postgis/flatgeobuf.c
index eb29f8920..ae3f8fb53 100644
--- a/postgis/flatgeobuf.c
+++ b/postgis/flatgeobuf.c
@@ -313,12 +313,12 @@ static void decode_properties(struct flatgeobuf_decode_ctx *ctx, Datum *values,
 			break;
 		}
 		case flatgeobuf_column_type_byte: {
-			int8_t value;
-			if (offset + sizeof(int8_t) > size)
+			char value;
+			if (offset + sizeof(char) > size)
 				elog(ERROR, "flatgeobuf: decode_properties: Invalid size for byte value");
-			memcpy(&value, data + offset, sizeof(int8_t));
-			values[ci] = Int8GetDatum(value);
-			offset += sizeof(int8_t);
+			memcpy(&value, data + offset, sizeof(char));
+			values[ci] = CharGetDatum(value);
+			offset += sizeof(char);
 			break;
 		}
 		case flatgeobuf_column_type_ubyte: {
diff --git a/raster/rt_pg/rtpg_mapalgebra.c b/raster/rt_pg/rtpg_mapalgebra.c
index bb173aa29..a97d98f0f 100644
--- a/raster/rt_pg/rtpg_mapalgebra.c
+++ b/raster/rt_pg/rtpg_mapalgebra.c
@@ -6568,6 +6568,7 @@ Datum RASTER_mapAlgebra2(PG_FUNCTION_ARGS)
 		case ET_FIRST:
 			i = 0;
 			/* fall through */
+			__attribute__((fallthrough));
 		case ET_SECOND:
 			if (i > 1)
 				i = 1;

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

Summary of changes:
 postgis/flatgeobuf.c           | 10 +++++-----
 raster/rt_pg/rtpg_mapalgebra.c |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list