[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-981-g08952370a
git at osgeo.org
git at osgeo.org
Mon Jun 19 02:04:48 PDT 2023
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 08952370ac527d2fe1dfdb6b72634ff8144e34b4 (commit)
from c055f1acdd1af5a03408c1b67743abc3b4bdf7a8 (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 08952370ac527d2fe1dfdb6b72634ff8144e34b4
Author: Sandro Santilli <strk at kbt.io>
Date: Mon Jun 19 11:03:15 2023 +0200
Fully qualify internal calls to topology methods in ValidateTopology
References #5403 in master branch
Includes regress test
diff --git a/topology/sql/manage/ValidateTopology.sql.in b/topology/sql/manage/ValidateTopology.sql.in
index e788bcdf7..a644dd5ca 100644
--- a/topology/sql/manage/ValidateTopology.sql.in
+++ b/topology/sql/manage/ValidateTopology.sql.in
@@ -82,7 +82,7 @@ BEGIN
edgering AS (
SELECT *
FROM
- GetRingEdges(
+ topology.GetRingEdges(
%1$L,
(SELECT ring_id FROM leftmost_edge)
)
diff --git a/topology/test/regress/validatetopology.sql b/topology/test/regress/validatetopology.sql
index 215d23075..2aab5e6b6 100644
--- a/topology/test/regress/validatetopology.sql
+++ b/topology/test/regress/validatetopology.sql
@@ -183,5 +183,17 @@ SELECT '#5105.unexpected_invalidities', * FROM ValidateTopology('t5105');
-- to form O-O figures
ROLLBACK;
+-- See https://trac.osgeo.org/postgis/ticket/5403
+BEGIN;
+SET search_path TO public;
+SELECT NULL FROM topology.CreateTopology('t5403');
+SELECT '#5403.0', topology.TopoGeo_addPolygon('t5403',
+ 'POLYGON((0 0, 5 10,10 0,0 0),(2 2,8 2,5 8,2 2))');
+SELECT '#5403.1', * FROM topology.ValidateTopology(
+ 't5403',
+ ST_MakeEnvelope(2,2,4,4)
+);
+ROLLBACK;
+
SELECT NULL FROM topology.DropTopology('city_data');
diff --git a/topology/test/regress/validatetopology_expected b/topology/test/regress/validatetopology_expected
index f91c3cbe9..b0c954fee 100644
--- a/topology/test/regress/validatetopology_expected
+++ b/topology/test/regress/validatetopology_expected
@@ -37,3 +37,4 @@
#5105.1|2
#5105.edges_count|2
#5105.faces_count|0
+#5403.0|1
-----------------------------------------------------------------------
Summary of changes:
topology/sql/manage/ValidateTopology.sql.in | 2 +-
topology/test/regress/validatetopology.sql | 12 ++++++++++++
topology/test/regress/validatetopology_expected | 1 +
3 files changed, 14 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list