[postgis-devel] [PostGIS] #1693: No uninstall script for legacy_minimal.sql

PostGIS trac at osgeo.org
Thu Mar 22 04:46:35 PDT 2012


#1693: No uninstall script for legacy_minimal.sql
-----------------------------------+----------------------------------------
 Reporter:  Sharpie                |       Owner:  strk         
     Type:  defect                 |      Status:  new          
 Priority:  low                    |   Milestone:  PostGIS 2.0.0
Component:  build/upgrade/install  |     Version:  trunk        
 Keywords:                         |  
-----------------------------------+----------------------------------------

Comment(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.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1693#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list