[SCM] PostGIS branch stable-3.3 updated. 3.3.10-119-gb50765b22a
git at osgeo.org
git at osgeo.org
Sun Aug 9 13:49:15 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.3 has been updated
via b50765b22a2bbfc3123ce9ed1a237cfdd24c0c90 (commit)
via 428bc44e0b2c1314d8e776b8ba1adc1029e365e8 (commit)
from d29d0079688aff457f09dacc1b5eb52c48880238 (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 b50765b22a2bbfc3123ce9ed1a237cfdd24c0c90
Merge: d29d007968 428bc44e0b
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date: Sun Aug 9 13:49:14 2026 -0700
Merge pull request 'regress: make FlatGeobuf bytea fixtures mode-independent' (!701) from Komzpa/postgis:fix/stable-3.3-flatgeobuf-bytea-20260810 into stable-3.3
## 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/701
commit 428bc44e0b2c1314d8e776b8ba1adc1029e365e8
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Mon Aug 10 00:47:52 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