Opened 11 years ago

Closed 11 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 Changed 11 years ago by pramsey

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

comment:2 Changed 11 years ago by robe

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 Changed 11 years ago by pramsey

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

comment:4 Changed 11 years ago by robe

If you and Kevin think so.

comment:5 Changed 11 years ago by pramsey

Resolution: wontfix
Status: newclosed

I don't. I think uninstall means uninstall.

Note: See TracTickets for help on using tickets.