[postgis-tickets] [SCM] PostGIS branch stable-3.2 updated. 3.2.5-2-g04ac6f2c1
git at osgeo.org
git at osgeo.org
Mon Jun 19 02:20:37 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, stable-3.2 has been updated
via 04ac6f2c15f27506d8441b270ad8e756c8082943 (commit)
from 6e2c5206d1b78b32c958a32728d83c93f92114b2 (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 04ac6f2c15f27506d8441b270ad8e756c8082943
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
Closes #5403 in 3.2 branch (3.2.6dev)
Includes regress test
diff --git a/NEWS b/NEWS
index dc7ae14dd..69d5f69d7 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,11 @@ Additional features are enabled if you are running GEOS 3.9+
(and ST_MakeValid enhancements with 3.10+),
Proj 6.1+, and PostgreSQL 14+.
+* Bug Fixes and Enhancements *
+ - #5403, Fix ValidateTopology(bbox) without topology in search_path
+ (Sandro Santilli).
+
+
PostGIS 3.2.5
2023/05/29
diff --git a/topology/sql/manage/ValidateTopology.sql.in b/topology/sql/manage/ValidateTopology.sql.in
index a59a145f6..55d89e60e 100644
--- a/topology/sql/manage/ValidateTopology.sql.in
+++ b/topology/sql/manage/ValidateTopology.sql.in
@@ -84,7 +84,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 b41ce9859..47365576a 100644
--- a/topology/test/regress/validatetopology.sql
+++ b/topology/test/regress/validatetopology.sql
@@ -182,5 +182,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:
NEWS | 5 +++++
topology/sql/manage/ValidateTopology.sql.in | 2 +-
topology/test/regress/validatetopology.sql | 12 ++++++++++++
topology/test/regress/validatetopology_expected | 1 +
4 files changed, 19 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list