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

PostGIS trac at osgeo.org
Wed Apr 25 11:57:30 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:            |  
----------------------+-----------------------------------------------------
 I don't know what's going on but a single call to toTopoGeom is triggering
 a "relation_layer_id_key" violation. The starting "relation" table is
 _empty_

 {{{
 select
 totopogeom('0105000000020000000102000000030000000000000000E065C002000000008056C001000000004065C0041AD965BE5554C002000000000064C0011AD965BE5554C001020000000200000000000000004065C0031AD965BE5554C00000000000E065C000000000008056C0',
 'hextopo', 1);
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1790>
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