[postgis-tickets] [PostGIS] #4709: Backend crash with TopoGeo_addLinestring against an invalid topology (2)

PostGIS trac at osgeo.org
Fri Jun 26 03:35:46 PDT 2020


#4709: Backend crash with TopoGeo_addLinestring against an invalid topology (2)
-----------------------+--------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  blocker   |  Milestone:
 Component:  topology  |    Version:  master
Resolution:            |   Keywords:
-----------------------+--------------------

Comment (by strk):

 Referencial integrity checks for edge linking are DEFERRED by default,
 which explains why it is possible to obtain such behavior:
 {{{
     "next_left_edge_exists" FOREIGN KEY (abs_next_left_edge) REFERENCES
 city_data.edge_data(edge_id) DEFERRABLE INITIALLY DEFERRED
     "next_right_edge_exists" FOREIGN KEY (abs_next_right_edge) REFERENCES
 city_data.edge_data(edge_id) DEFERRABLE INITIALLY DEFERRED
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4709#comment:5>
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-tickets mailing list