Ticket #1185 (new enhancement)

Opened 21 months ago

Last modified 8 weeks ago

Need DropTopoGeometryTable function

Reported by: robe Owned by: strk
Priority: medium Milestone: PostGIS Future
Component: topology Version: trunk
Keywords: Cc:

Description

Such a function should drop the table and remove all related relation records.

Change History

Changed 20 months ago by strk

Technically, a TopoGeometry is independent from the table it's attached to. You may have literal TopoGeometry values, or have them used in multiple places.

Substancially a TopoGeometry is fully defined by the relation table AND the layer record (which specifies how to interpret the definition). Dropping the layer record makes indeed the TopoGeometry definition useless.

I agree on implementing DropTopoGeometryTable?, but I feel the need to somehow validate TopoGeometry object references (the topology.TopoGeometry object type) to catch malformations like the ones introduced by, for instance, saving a TopoGeometry object in a private/backup table and then dropping the referee using this function thus making the copied TopoGeometry a dangling reference.

Changed 17 months ago by strk

  • milestone changed from PostGIS 2.0.0 to PostGIS 2.1.0

Changed 8 weeks ago by robe

  • milestone changed from PostGIS 2.1.0 to PostGIS Future

sounds complicated --> punt

Note: See TracTickets for help on using tickets.