Opened 9 years ago

Closed 8 years ago

#797 closed defect (invalid)

ST_RemoveIsoNode does not throw an exception when passed a non-existent node

Reported by: robe Owned by: strk
Priority: low Milestone: PostGIS 2.0.0
Component: topology Version: trunk
Keywords: Cc:


I can run this over and over again and get the same message:

SELECT topology.ST_RemoveIsoNode('ma_topo',  7 ) As result;


Isolated node 7 removed

I guess its isolated if it doesn't exist.

Change History (2)

comment:1 Changed 9 years ago by aperi2007

A non-existent node is surely removed. :)

This result is compliant with the description of the ST_RemoveIsoNode. And the node is isolated because as say the 2.c rules of draft there isn't any edge having it has start_node or end_node.

So I think the result is correct.

comment:2 Changed 8 years ago by strk

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.