Opened 15 years ago

Closed 15 years ago

#225 closed defect (wontfix)

postgis_uninstall script will destroy data

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 1.4.1
Component: postgis Version: 1.4.X
Keywords: Cc:

Description

Get rid of the CASCADE in DROP TYPE etc.

This will destroy data (drop all geometry columns) if there are any. Luckily it doesn't work if you have geometry data since the functions are missing cascade drop.

I'm tempted to say we should take this out of 1.4. I think it needs more work.

Change History (5)

comment:1 by pramsey, 15 years ago

What meaning do your geometry columns have absent the geometry type?

comment:2 by robe, 15 years ago

Just that people may think uninstall means something other than what it does. They might accidentally run it thinking it simply just removes the functions not realizing the irreversible consequences.

I'm thinking most people that woudl want to run it won't have geometries and they just accidentally installed PostGIS and want to remove it from their db.

comment:3 by pramsey, 15 years ago

Right, so, should this be an active ticket...?

comment:4 by robe, 15 years ago

If you and Kevin think so.

comment:5 by pramsey, 15 years ago

Resolution: wontfix
Status: newclosed

I don't. I think uninstall means uninstall.

Note: See TracTickets for help on using tickets.