-- good one
-SELECT topology.ST_ChangeEdgeGeom('city_data', 25,
+SELECT 'T1', topology.ST_ChangeEdgeGeom('city_data', 25,
'LINESTRING(9 35, 11 33, 13 35)');
-- start/end points mismatch
'LINESTRING(9 35, 11 40, 13 35)');
-- Test change in presence of edges sharing node (#1428)
-SELECT topology.ST_ChangeEdgeGeom('city_data', 5,
+SELECT 'T2', topology.ST_ChangeEdgeGeom('city_data', 5,
'LINESTRING(41 40, 57 33)');
-- Change to edge crossing old self
-SELECT topology.ST_ChangeEdgeGeom('city_data', 5,
+SELECT 'T3', topology.ST_ChangeEdgeGeom('city_data', 5,
'LINESTRING(41 40, 49 40, 49 34, 57 33)');
-- Change a closed edge
-SELECT topology.ST_ChangeEdgeGeom('city_data', 26,
+SELECT 'T4', topology.ST_ChangeEdgeGeom('city_data', 26,
'LINESTRING(4 31, 7 31, 4 34, 4 31)');
-- TODO: test reverse direction of closed edge
22
26
COMMIT
-Edge 25 changed
+T1|Edge 25 changed
ERROR: SQL/MM Spatial exception - start node not geometry start point.
ERROR: SQL/MM Spatial exception - end node not geometry end point.
ERROR: SQL/MM Spatial exception - geometry crosses a node
ERROR: SQL/MM Spatial exception - non-existent edge 666
ERROR: SQL/MM Spatial exception - geometry crosses an edge
-Edge 5 changed
-Edge 5 changed
-Edge 26 changed
+T2|Edge 5 changed
+T3|Edge 5 changed
+T4|Edge 26 changed
Topology 'city_data' dropped