[SCM] PostGIS branch stable-3.6 updated. 3.6.2-4-gd3171abe3
git at osgeo.org
git at osgeo.org
Mon Mar 16 13:21:01 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 d3171abe3b30c898bd15e37b072fb34c3b6cc675 (commit)
from 6d032d7f203aca9e77badfcc26e9c84968cd3655 (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 d3171abe3b30c898bd15e37b072fb34c3b6cc675
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Mar 16 13:20:54 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 c1cac17c3..e08c65975 100644
--- a/raster/rt_pg/rtpg_mapalgebra.c
+++ b/raster/rt_pg/rtpg_mapalgebra.c
@@ -6544,6 +6544,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