[SCM] PostGIS branch stable-3.5 updated. 3.5.7-122-ga9db2eab86
git at osgeo.org
git at osgeo.org
Sun Aug 9 13:49:33 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.5 has been updated
via a9db2eab864ce74504b3fb5c1b64af0a3a79acd1 (commit)
via 05c3ed8d8aed54963ee67723857b360f79b45ec3 (commit)
from f8d6a049737ba51433e2566ed63d60596e625d7b (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 a9db2eab864ce74504b3fb5c1b64af0a3a79acd1
Merge: f8d6a04973 05c3ed8d8a
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date: Sun Aug 9 13:49:31 2026 -0700
Merge pull request 'regress: make FlatGeobuf bytea fixtures mode-independent' (!703) from Komzpa/postgis:fix/stable-3.5-flatgeobuf-bytea-20260810 into stable-3.5
## Summary
- construct malformed FlatGeobuf bytea fixtures with `decode(..., hex)`
- make the assertions independent of `standard_conforming_strings`
## Validation
- `git diff --check`
Stable-3.3 Woodpecker PG11/PG15 reproduces the failure: with standard-conforming strings off, the old `\x...::bytea` literals become malformed SQL strings and test the wrong input.
Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/703
commit 05c3ed8d8aed54963ee67723857b360f79b45ec3
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Mon Aug 10 00:47:58 2026 +0400
regress: make FlatGeobuf bytea fixtures mode-independent
diff --git a/regress/core/flatgeobuf.sql b/regress/core/flatgeobuf.sql
index 6d8ba9148e..0b6b23d9ae 100644
--- a/regress/core/flatgeobuf.sql
+++ b/regress/core/flatgeobuf.sql
@@ -179,10 +179,10 @@ select 'MM2' from ST_FromFlatGeobuf(null::flatgeobuf_mm_long, (
select '--- Malformed input detection ---';
-- Magic bytes plus a truncated size prefix.
-select 'MI1' from ST_FromFlatGeobuf(null::flatgeobuf_t1, '\x6667620366676201010203'::bytea);
+select 'MI1' from ST_FromFlatGeobuf(null::flatgeobuf_t1, decode('6667620366676201010203', 'hex'));
-- Valid magic bytes plus a header size prefix that exceeds the remaining input.
-select 'MI2' from ST_FromFlatGeobuf(null::flatgeobuf_t1, '\x6667620366676201ffffffff'::bytea);
+select 'MI2' from ST_FromFlatGeobuf(null::flatgeobuf_t1, decode('6667620366676201ffffffff', 'hex'));
-- NULL bytea input should be handled by STRICT rather than reaching the C decoder.
select 'MI3', count(*) from ST_FromFlatGeobuf(null::flatgeobuf_t1, null::bytea);
-----------------------------------------------------------------------
Summary of changes:
regress/core/flatgeobuf.sql | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list