[SCM] PostGIS branch stable-3.5 updated. 3.5.2-11-g8b1bb8316

git at osgeo.org git at osgeo.org
Sun Mar 2 22:24:21 PST 2025


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  8b1bb8316bab89f0433cf36ee085974b5acdeec8 (commit)
      from  1645baa95634cb42c9bd437074480245713fb9ea (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 8b1bb8316bab89f0433cf36ee085974b5acdeec8
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

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/regress_index.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list