Opened 12 years ago

Closed 12 years ago

#1693 closed defect (fixed)

No uninstall script for legacy_minimal.sql

Reported by: Sharpie Owned by: strk
Priority: low Milestone: PostGIS 2.0.0
Component: build Version: master
Keywords: Cc:

Description

Testing with SVN r9513.

After loading legacy_minimal.sql into a database, uninstall_legacy.sql will fail due to missing items.

Current workaround is to layer on a full install of legacy.sql and then peel everything off with uninstall_legacy.sql.

Change History (2)

comment:1 by robe, 12 years ago

I don't think we need an uninstall script for legacy_minimal. We just need to fix the uninstall_legacy.sql script.

The issue I see with the generated uninstall is that it is putting in

DROP AGGREGATE

instead of

DROP AGGREGATE IF EXISTS

If I change all those to DROP AGGREGATE IF EXISTS — works fine even on a database with no legacy functions.

It seems this script is now autogenerated so I don't know how to fix it.

strk — can you please change your generator.

comment:2 by robe, 12 years ago

Resolution: fixed
Status: newclosed

fixed at r9550 uninstall_legacy.sql should work now to uninstall legacy minimal

Note: See TracTickets for help on using tickets.