[postgis-devel] [PostGIS] #1790: toTopoGeom: ERROR: duplicate key value violates unique constraint "relation_layer_id_key"

PostGIS trac at osgeo.org
Wed Apr 25 12:00:42 PDT 2012


#1790: toTopoGeom: ERROR:  duplicate key value violates unique constraint
"relation_layer_id_key"
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.1
Component:  topology  |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by strk):

 Ah, ok, clear... TopoGeo_addLinestring returns a SET of primitive
 identifiers, and it's returning the same identifier more than once ...

 Not sure if we should omit the duplicates from the TopoGeo_addlinestring
 itself or from the caller...

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1790#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list