[SCM] PostGIS branch stable-3.4 updated. 3.4.6-127-g97c8770b85

git at osgeo.org git at osgeo.org
Sun Aug 9 13:49:26 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.4 has been updated
       via  97c8770b85f122435cdd4acfed198e48be17004d (commit)
       via  05cb8bb7d4e64e31b06fe3e1b132ead1031b39ac (commit)
      from  615105b82dfef9880d8923224ee36cf278e627be (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 97c8770b85f122435cdd4acfed198e48be17004d
Merge: 615105b82d 05cb8bb7d4
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date:   Sun Aug 9 13:49:25 2026 -0700

    Merge pull request 'regress: make FlatGeobuf bytea fixtures mode-independent' (!702) from Komzpa/postgis:fix/stable-3.4-flatgeobuf-bytea-20260810 into stable-3.4
    
    ## 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/702


commit 05cb8bb7d4e64e31b06fe3e1b132ead1031b39ac
Author: Darafei Praliaskouski <me at komzpa.net>
Date:   Mon Aug 10 00:47:55 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