Commit 648795ff authored by Regina Obe's avatar Regina Obe

Make test sort order deterministic by using lateral.

Closes #4111
(Note they are going to fix the issue upstream that made this fail on stable 10, but I wanted to change this test anyway)

git-svn-id: http://svn.osgeo.org/postgis/trunk@16625 b70326c6-7e19-0410-871a-916f4a2858ee
parent 9abf2943
Pipeline #24893199 passed with stage
in 18 minutes and 24 seconds
......@@ -272,9 +272,10 @@ SELECT 't3280', 'L1' || topology.TopoGeo_AddLinestring('bug3280',
SELECT 't3280', 'L2' || topology.TopoGeo_AddLinestring('bug3280',
'010200000003000000EC51B89E320F3841333333B3A9C852415649EE1F280F384164E065F493C85241A4703D8A230F38410AD7A37094C85241'
::geometry);
SELECT 't3280', 'L1b' || topology.TopoGeo_AddLinestring('bug3280', geom)
FROM bug3280.edge where edge_id = 1
ORDER BY 1;
SELECT 't3280', 'L1b' || l
FROM (SELECT * FROM bug3280.edge where edge_id = 1) AS e
CROSS JOIN LATERAL topology.TopoGeo_AddLinestring('bug3280', geom) AS l
ORDER BY 2;
SELECT 't3280.end', topology.DropTopology('bug3280');
-- See http://trac.osgeo.org/postgis/ticket/3380
......
......@@ -185,8 +185,8 @@ Topology 'city_data' dropped
t3280.start|t
t3280|L11
t3280|L22
t3280|L1b4
t3280|L1b2
t3280|L1b4
t3280.end|Topology 'bug3280' dropped
t3380.start|t
t3380.L1|1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment