Opened 4 days ago

Closed 4 days ago

Last modified 4 days ago

#5861 closed enhancement (fixed)

pgtopo_import: add switch to request pre-dropping an existing topology

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 3.6.0
Component: topology Version: master
Keywords: Cc:

Description

Like shp2pgsql we could add a -d for "drop" switch that removes an existing topology with the same name as the requested one.

The -d idea comes from shp2pgsql - see https://postgis.net/docs/using_postgis_dbmanagement.html#load-data-sql

Change History (4)

comment:1 by strk, 4 days ago

Better to go —drop-topology, as it's a big gun we're providing to shoot your foot

comment:2 by strk, 4 days ago

Milestone: PostGIS Fund MePostGIS 3.6.0
Type: defectenhancement

See also #5860 which could make it easier to tell when —drop-topology would be useful

comment:3 by Sandro Santilli <strk@…>, 4 days ago

Resolution: fixed
Status: newclosed

In 1237c6b/git:

Add —drop-topology switch to pgtopo_import

Closes #5861

comment:4 by Sandro Santilli <strk@…>, 4 days ago

In f0335cae/git:

Document new pgtopo_import switch

References #5861

Note: See TracTickets for help on using tickets.