Ticket #1693 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

No uninstall script for legacy_minimal.sql

Reported by: Sharpie Owned by: strk
Priority: low Milestone: PostGIS 2.0.0
Component: build/upgrade/install Version: trunk
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

Changed 14 months ago by robe

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.

Changed 14 months ago by robe

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.