validatetopology_returntype — A composite type that consists of an error message and id1 and id2 to denote location of error. This is the return type for
A composite type that consists of an error message and two integers. The ValidateTopology function returns a set of these to denote validation errors and the id1 and id2 to denote the ids of the topology objects involved in the error.
error is varchar: Denotes type of error.
Current error descriptors are: coincident nodes, edge crosses node, edge not simple, edge end node geometry mis-match, edge start node geometry mismatch, face overlaps face,face within face,
id1 is an integer: Denotes identifier of edge / face / nodes in error.
id2 is an integer: For errors that involve 2 objects denotes the secondary edge / or node