Ticket #1704 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

Change uninstall generators do DROP AGGREGATE IF EXISTS

Reported by: robe Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: build/upgrade/install Version: trunk
Keywords: Cc:

Description

DROP AGGREGATE IF EXISTS has existed since PostgreSQL 8.2, so there is no reason not to use it.

As noted in #1693, changing the uninstall to DROP AGGREGATE IF EXISTS will make uninstall_legacy work for both legacy and legacy_minimal. It will help for the other uninstall scripts as well.

Change History

Changed 14 months ago by robe

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

fixed at r9550 now the uninstall_legacy should work to uninstall any legacy you've got even if minimal.

I also put in a drop view if exists. I think there are some others that should be done that way too.

Note: See TracTickets for help on using tickets.