Loading topology/sql/populate.sql.in.c +1 −1 Original line number Diff line number Diff line Loading @@ -935,7 +935,7 @@ BEGIN #ifdef POSTGIS_TOPOLOGY_DEBUG RAISE DEBUG 'Edge collapsed'; #endif RETURN; CONTINUE; END IF; -- Check if the so-snapped edge _now_ exists Loading topology/test/regress/topogeo_addlinestring.sql +5 −0 Original line number Diff line number Diff line Loading @@ -184,6 +184,11 @@ SELECT '#1650.2' || TopoGeo_addLineString('city_data', , 2)::text; SELECT check_changes(); SELECT '#1650.3', TopoGeo_addLineString('city_data', 'LINESTRING(-1 0, 10 0)' , 2) ORDER BY 2; SELECT check_changes(); -- Cleanups DROP FUNCTION check_changes(); SELECT DropTopology('city_data'); topology/test/regress/topogeo_addlinestring_expected +3 −0 Original line number Diff line number Diff line Loading @@ -146,4 +146,7 @@ E|64|sn62|en63 E|65|sn63|en64 #1650.1 N|65|0|POINT(0 0) #1650.3|66 N|66||POINT(10 0) E|66|sn65|en66 Topology 'city_data' dropped Loading
topology/sql/populate.sql.in.c +1 −1 Original line number Diff line number Diff line Loading @@ -935,7 +935,7 @@ BEGIN #ifdef POSTGIS_TOPOLOGY_DEBUG RAISE DEBUG 'Edge collapsed'; #endif RETURN; CONTINUE; END IF; -- Check if the so-snapped edge _now_ exists Loading
topology/test/regress/topogeo_addlinestring.sql +5 −0 Original line number Diff line number Diff line Loading @@ -184,6 +184,11 @@ SELECT '#1650.2' || TopoGeo_addLineString('city_data', , 2)::text; SELECT check_changes(); SELECT '#1650.3', TopoGeo_addLineString('city_data', 'LINESTRING(-1 0, 10 0)' , 2) ORDER BY 2; SELECT check_changes(); -- Cleanups DROP FUNCTION check_changes(); SELECT DropTopology('city_data');
topology/test/regress/topogeo_addlinestring_expected +3 −0 Original line number Diff line number Diff line Loading @@ -146,4 +146,7 @@ E|64|sn62|en63 E|65|sn63|en64 #1650.1 N|65|0|POINT(0 0) #1650.3|66 N|66||POINT(10 0) E|66|sn65|en66 Topology 'city_data' dropped