[SCM] PostGIS branch master updated. 3.7.0beta2-98-g68826c04e

git at osgeo.org git at osgeo.org
Fri Aug 21 06:29: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, master has been updated
       via  68826c04ef9d0aa277add2cb842dcae1a8b82b42 (commit)
       via  983e36a14b7b7dd099c470a5b95854978a3a9f09 (commit)
       via  f7d3017de9608cea7ea6ef73e56d159d06ba21ad (commit)
      from  2d730fa218e1c2af3883359a82b6581b5bc917ce (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 68826c04ef9d0aa277add2cb842dcae1a8b82b42
Merge: 2d730fa21 983e36a14
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date:   Fri Aug 21 06:29:14 2026 -0700

    Merge pull request 'regress: use bounded interrupt timing checks' (!754) from Komzpa/postgis:fix/interrupt-relation-timeout-master-tolerance-20260821 into master
    
    Keep the interrupt test bounded while preserving its timeout assertion, and rename the newly introduced NURBS bbox `numer` local to `numerator` so the current master codespell gate can run.
    
    Validation: Woodpecker pipeline 7138 passed 30/30 on the pre-rebase head; the updated head is queued for the same matrix.
    
    Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/754


commit 983e36a14b7b7dd099c470a5b95854978a3a9f09
Author: Darafei Praliaskouski <me at komzpa.net>
Date:   Fri Aug 21 16:47:53 2026 +0400

    ci: fix NURBS bbox codespell finding

diff --git a/liblwgeom/gbox.c b/liblwgeom/gbox.c
index d29541a4a..7685300bd 100644
--- a/liblwgeom/gbox.c
+++ b/liblwgeom/gbox.c
@@ -1058,7 +1058,7 @@ lwnurbscurve_calculate_gbox_cartesian(const LWNURBSCURVE *curve, GBOX *gbox)
 			multiplicity = b - knot_block_start + 1;
 			if (multiplicity < degree)
 			{
-				double numer = knots[b] - knots[a];
+				double numerator = knots[b] - knots[a];
 
 				/* Precompute the knot-insertion blend factors for this block.
 				 * A zero denominator would mean the validated active span has
@@ -1073,7 +1073,7 @@ lwnurbscurve_calculate_gbox_cartesian(const LWNURBSCURVE *curve, GBOX *gbox)
 						return LW_FAILURE;
 					}
 
-					alphas[j - multiplicity - 1] = numer / denom;
+					alphas[j - multiplicity - 1] = numerator / denom;
 				}
 
 				r = degree - multiplicity;

commit f7d3017de9608cea7ea6ef73e56d159d06ba21ad
Author: Darafei Praliaskouski <me at komzpa.net>
Date:   Fri Aug 21 15:54:41 2026 +0400

    regress: use bounded interrupt timing checks

diff --git a/regress/core/interrupt_relate.sql b/regress/core/interrupt_relate.sql
index 619c92df6..dabecdd5f 100644
--- a/regress/core/interrupt_relate.sql
+++ b/regress/core/interrupt_relate.sql
@@ -20,25 +20,25 @@ BEGIN;
 SET LOCAL statement_timeout TO 100;
 select ST_Contains(g,g) from _inputs WHERE id = 1; -- 6+ seconds
 ROLLBACK;
-SELECT _timecheck('contains');
+SELECT _timecheck('contains', '500ms');
 
 BEGIN;
 SET LOCAL statement_timeout TO 100;
 select ST_Covers(g,g) from _inputs WHERE id = 1; -- 6+ seconds
 ROLLBACK;
-SELECT _timecheck('covers');
+SELECT _timecheck('covers', '500ms');
 
 BEGIN;
 SET LOCAL statement_timeout TO 100;
 select ST_CoveredBy(g,g) from _inputs WHERE id = 1; -- 6+ seconds
 ROLLBACK;
-SELECT _timecheck('coveredby');
+SELECT _timecheck('coveredby', '500ms');
 
 BEGIN;
 SET LOCAL statement_timeout TO 100;
 select ST_Crosses(g,g) from _inputs WHERE id = 1; -- 6+ seconds
 ROLLBACK;
-SELECT _timecheck('crosses');
+SELECT _timecheck('crosses', '500ms');
 
 BEGIN;
 SET LOCAL statement_timeout TO 100;
@@ -46,7 +46,7 @@ SET LOCAL statement_timeout TO 100;
 --       short-circuit described in #3226
 select ST_Equals(g,st_reverse(g)) from _inputs WHERE id = 1; -- 6+ seconds
 ROLLBACK;
-SELECT _timecheck('equals');
+SELECT _timecheck('equals', '500ms');
 
 BEGIN;
 SET LOCAL statement_timeout TO 100;
@@ -54,19 +54,19 @@ SET LOCAL statement_timeout TO 100;
 --       input to make it slower
 select ST_Intersects(g,ST_Segmentize(g,1e-4)) from _inputs WHERE id = 1; -- 6+ seconds
 ROLLBACK;
-SELECT _timecheck('intersects');
+SELECT _timecheck('intersects', '500ms');
 
 BEGIN;
 SET LOCAL statement_timeout TO 100;
 select ST_Overlaps(g,g) from _inputs WHERE id = 1; -- 6+ seconds
 ROLLBACK;
-SELECT _timecheck('overlaps');
+SELECT _timecheck('overlaps', '500ms');
 
 BEGIN;
 SET LOCAL statement_timeout TO 100;
 select ST_Relate(g,g) from _inputs WHERE id = 1; -- 6+ seconds
 ROLLBACK;
-SELECT _timecheck('relate');
+SELECT _timecheck('relate', '500ms');
 
 DROP FUNCTION _timecheck(text);
 DROP FUNCTION _timecheck(text, interval);

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

Summary of changes:
 liblwgeom/gbox.c                  |  4 ++--
 regress/core/interrupt_relate.sql | 16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list