[postgis-tickets] [PostGIS] #5118: DropTopology: ERROR: update or delete on table "topology" violates foreign key constraint "layer_topology_id_fkey" on table "layer"

PostGIS trac at osgeo.org
Mon Mar 28 04:58:11 PDT 2022


#5118: DropTopology: ERROR:  update or delete on table "topology" violates foreign
key constraint "layer_topology_id_fkey" on table "layer"
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 3.3.0
 Component:  topology  |    Version:  3.2.x
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by strk):

 It's odd to read `NOTICE:  Dropping all layers from topology 'city_data'
 (17)` and then `DETAIL:  Key (id)=(17) is still referenced from table
 "layer".`

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