[SCM] PostGIS branch master updated. 3.6.0rc2-416-g7ec560627

git at osgeo.org git at osgeo.org
Tue Mar 31 03:24:50 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  7ec5606274655a330c0cd831d9a2dce3bcb046a9 (commit)
      from  bdbc1535eda9730a93f3a58edaef92fec49650d7 (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 7ec5606274655a330c0cd831d9a2dce3bcb046a9
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Mar 31 11:52:59 2026 +0200

    Simplify tests for #3412 and #3838

diff --git a/topology/test/regress/topogeo_addlinestring.sql b/topology/test/regress/topogeo_addlinestring.sql
index c7ba53e90..2c1382048 100644
--- a/topology/test/regress/topogeo_addlinestring.sql
+++ b/topology/test/regress/topogeo_addlinestring.sql
@@ -326,16 +326,12 @@ SELECT 't3412.L1', TopoGeo_AddLinestring('bug3412',
 599671.37 4889781.87
 )'
 ::geometry);
-
--- TODO: answers different on 3.8 from older geos so revised test
-/**SELECT 't3412.L2', TopoGeo_AddLinestring('bug3412',
-'0102000000020000003AB42BBFEE4C22410010C5A997A6524167BB5DBDEE4C224117FE3DA85FA75241'
-::geometry);**/
-SELECT 't3412.L2', COUNT(*)
+SELECT 't3412.L2', COUNT(*) > 0
 FROM TopoGeo_AddLinestring('bug3412',
 '0102000000020000003AB42BBFEE4C22410010C5A997A6524167BB5DBDEE4C224117FE3DA85FA75241'
 ::geometry);
-SELECT 't3412.end', DropTopology('bug3412');
+SELECT 't3412.end.error', * FROM topology.ValidateTopology('bug3412');
+SELECT NULL FROM DropTopology('bug3412');
 
 -- See http://trac.osgeo.org/postgis/ticket/3711
 SELECT 't3371.start', topology.CreateTopology('bug3711', 0, 0, true) > 1;
@@ -358,16 +354,12 @@ SELECT 't3838.L1', topology.TopoGeo_addLinestring('bug3838',
 622598.73 6554996.23,
 622591.53 6554995.96)'
 ::geometry , 1);
--- TODO: answers in geos 3.8 different from older geos
--- So just doing count instead of full test
-/** SELECT 't3838.L2', topology.TopoGeo_addLinestring('bug3838',
-'LINESTRING(622608 6554988, 622596 6554984)'
-::geometry , 10);**/
-SELECT 't3838.L2', COUNT(*)
+SELECT 't3838.L2', COUNT(*) > 0
   FROM topology.TopoGeo_addLinestring('bug3838',
 'LINESTRING(622608 6554988, 622596 6554984)'
 ::geometry , 10);
-SELECT 't3838.end', topology.DropTopology('bug3838');
+SELECT 't3838.end.error', * FROM topology.ValidateTopology('bug3838');
+SELECT NULL FROM topology.DropTopology('bug3838');
 
 -- See https://trac.osgeo.org/postgis/ticket/1855
 -- Simplified case 1
diff --git a/topology/test/regress/topogeo_addlinestring_expected b/topology/test/regress/topogeo_addlinestring_expected
index f80416f71..a9b3785f3 100644
--- a/topology/test/regress/topogeo_addlinestring_expected
+++ b/topology/test/regress/topogeo_addlinestring_expected
@@ -187,16 +187,14 @@ t3402.L2|3
 t3402.end|Topology 'bug3402' dropped
 t3412.start|t
 t3412.L1|1
-t3412.L2|4
-t3412.end|Topology 'bug3412' dropped
+t3412.L2|t
 t3371.start|t
 t3371.L1|1
 t3371.L2|2
 t3371.end|Topology 'bug3711' dropped
 t3838.start|t
 t3838.L1|1
-t3838.L2|6
-t3838.end|Topology 'bug3838' dropped
+t3838.L2|t
 t1855_1.start|t
 t1855_1.0|1
 t1855_1.end|Topology 'bug1855' dropped

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

Summary of changes:
 topology/test/regress/topogeo_addlinestring.sql      | 20 ++++++--------------
 topology/test/regress/topogeo_addlinestring_expected |  6 ++----
 2 files changed, 8 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list