[SCM] PostGIS branch stable-3.4 updated. 3.4.6-82-g636a58a9e

git at osgeo.org git at osgeo.org
Mon Jul 20 01:40:45 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  636a58a9ed509d6ebfbfa25539646dc09eb4fe8b (commit)
       via  8249c33eac95b912caa552b450fe70b5ebc11991 (commit)
       via  56a3c6e3099d1e7da4326400779b23b8e3e7c634 (commit)
      from  ad11b27e2021d48eae913a9d5b09ac95f8a8cd8d (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 636a58a9ed509d6ebfbfa25539646dc09eb4fe8b
Merge: ad11b27e2 8249c33ea
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date:   Mon Jul 20 01:40:44 2026 -0700

    Merge pull request 'regress: fix stable 3.4 GEOS 3.15 and PG18 tests' (#470)
    
    regress: fix stable 3.4 GEOS 3.15 and PG18 tests


commit 8249c33eac95b912caa552b450fe70b5ebc11991
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Jul 20 12:38:58 2026 +0400

    regress: drop invalid coverage union case on stable 3.4
    
    GEOS 3.15 rejects the incorrectly noded input used by the union 2 case with a TopologyException. Stable 3.5 already removed this case as part of b2cb17fa069861f658d80d67ce34f98a354e23fd; keep this stable 3.4 backport test-only and leave the unrelated ST_IsCollection runtime changes out.

diff --git a/regress/core/coverage.sql b/regress/core/coverage.sql
index f0d1f5a9b..2e069cd73 100644
--- a/regress/core/coverage.sql
+++ b/regress/core/coverage.sql
@@ -52,20 +52,6 @@ SELECT 'three partition b' AS test,
   id, ST_Area(ST_CoverageUnion(geom))
 FROM coverage GROUP BY id ORDER BY id;
 
-
-TRUNCATE coverage;
-INSERT INTO coverage VALUES
-(4, 1, 'POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))'),
-(4, 2, 'POLYGON ((1 0, 0.9 1, 2 1, 2 0, 1 0))');
-
-WITH u AS (
-  SELECT ST_CoverageUnion(geom) AS geom FROM coverage
-)
-SELECT 'union 2' AS test,
-  ST_Area(geom), ST_GeometryType(geom)
-FROM u;
-
-
 TRUNCATE coverage;
 INSERT INTO coverage VALUES
 (5, 1, 'POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))'),
@@ -100,4 +86,3 @@ SELECT 'grid squares', i, j, ST_Area(ST_CoverageUnion(geom))
 FROM squares
 GROUP BY i, j
 ORDER By i, j;
-
diff --git a/regress/core/coverage_expected b/regress/core/coverage_expected
index 5d19e968a..2b456107a 100644
--- a/regress/core/coverage_expected
+++ b/regress/core/coverage_expected
@@ -15,7 +15,6 @@ three partition a|3|2|||
 three partition b|1|200
 three partition b|2|200
 three partition b|3|
-union 2|2.05|ST_MultiPolygon
 union 3|2|ST_Polygon
 grid lanes|0|110000
 grid lanes|1|110000

commit 56a3c6e3099d1e7da4326400779b23b8e3e7c634
Author: Regina Obe <lr at pcorp.us>
Date:   Mon Mar 3 00:38:17 2025 -0500

    Fix regress error on pg18
    Explain now returns fractional for actual rows for some reason
    Closes #5851 for PostGIS 3.5.3
    
    (cherry picked from commit 8b1bb8316bab89f0433cf36ee085974b5acdeec8)

diff --git a/regress/core/regress_index.sql b/regress/core/regress_index.sql
index 494ef9ec5..9c9697b74 100644
--- a/regress/core/regress_index.sql
+++ b/regress/core/regress_index.sql
@@ -57,11 +57,11 @@ BEGIN
   -- TODO: rewrite using json output ?
   EXECUTE 'EXPLAIN ANALYZE ' || qry INTO anl;
 
-  SELECT regexp_matches(anl, ' rows=([0-9]*) .* rows=([0-9]*) ')
+  SELECT regexp_matches(anl, ' rows=([0-9]*) .* rows=([0-9\.]*) ')
   INTO mat;
 
   est := mat[1];
-  act := mat[2];
+  act := mat[2]::numeric::integer;
 
   err = abs(est-act);
 

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

Summary of changes:
 regress/core/coverage.sql      | 15 ---------------
 regress/core/coverage_expected |  1 -
 regress/core/regress_index.sql |  4 ++--
 3 files changed, 2 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list