Opened 13 years ago

Closed 13 years ago

#1704 closed defect (fixed)

Change uninstall generators do DROP AGGREGATE IF EXISTS

Reported by: robe Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: build Version: master
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 (1)

comment:1 by robe, 13 years ago

Resolution: fixed
Status: newclosed

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.