[SCM] PostGIS branch master updated. 3.6.0rc2-435-g2c9277d3d

git at osgeo.org git at osgeo.org
Wed Apr 8 03:28:46 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  2c9277d3da0794f44dee60107d107cfd9939edeb (commit)
      from  acc6afbd9212beaf8e2039c7f2369584a6c9ec77 (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 2c9277d3da0794f44dee60107d107cfd9939edeb
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Apr 8 12:27:36 2026 +0200

    Add topology test for ticket 6064
    
    The test would fail if we reverted commit
    7e3d523cda37faa3efdb8daed91e73df6a9fe864
    
    Closes #6064

diff --git a/topology/test/regress/topogeo_addlinestring.sql b/topology/test/regress/topogeo_addlinestring.sql
index aadf897f6..f54145537 100644
--- a/topology/test/regress/topogeo_addlinestring.sql
+++ b/topology/test/regress/topogeo_addlinestring.sql
@@ -630,3 +630,26 @@ SELECT 't6062.edges', count(*) > 0 FROM topology.TopoGeo_addLinestring('t6062',
 ORDER BY 2;
 SELECT 't6062.2', 'error', * FROM topology.ValidateTopology('t6062') v;
 SELECT NULL FROM topology.DropTopology ('t6062');
+
+-- See https://trac.osgeo.org/postgis/ticket/6064
+set client_min_messages to WARNING;
+SELECT NULL FROM topology.CreateTopology ('t6064');
+SELECT 't6064.1', count(*) > 0 FROM topology.TopoGeo_addLinestring('t6064',
+'LINESTRING(
+  17.42207545158684 69.11091383590066,
+  17.422075702665087 69.11091383235977,
+  17.579930758184094 69.12294910230447
+  , 17.622976580401446 69.12848944101118
+)');
+
+SELECT 't6064.check.intermediate', * FROM topology.ValidateTopology('t6064');
+set client_min_messages to DEBUG;
+SELECT 't6064.2', count(*) > 0 FROM topology.TopoGeo_addLinestring('t6064',
+'LINESTRING(
+  17.42207545158653 69.11091383590062,
+  17.42207570266477 69.11091383235974,
+  17.622976580401076 69.12848944101118
+)');
+set client_min_messages to WARNING;
+SELECT 't6064.check.final', * FROM topology.ValidateTopology('t6064');
+SELECT NULL FROM topology.DropTopology ('t6064');
diff --git a/topology/test/regress/topogeo_addlinestring_expected b/topology/test/regress/topogeo_addlinestring_expected
index 5ef1bb81a..a698decff 100644
--- a/topology/test/regress/topogeo_addlinestring_expected
+++ b/topology/test/regress/topogeo_addlinestring_expected
@@ -234,3 +234,5 @@ ERROR:  Adding line to topology requires creating more edges than the requested
 t6023.1|errors|
 t6023.2|errors|
 t6062.edges|t
+t6064.1|t
+t6064.2|t

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

Summary of changes:
 topology/test/regress/topogeo_addlinestring.sql    | 23 ++++++++++++++++++++++
 .../test/regress/topogeo_addlinestring_expected    |  2 ++
 2 files changed, 25 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list