Opened 14 years ago

Closed 14 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: master
Keywords: Cc:

Description

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

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

result


Isolated node 7 removed

I guess its isolated if it doesn't exist.

Change History (2)

comment:1 by aperi2007, 14 years ago

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 by strk, 14 years ago

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