[postgis-devel] [PostGIS] #301: [raster] Add uninstall_rtpostgis.sql machinery

PostGIS trac at osgeo.org
Thu Dec 22 13:58:50 PST 2011


#301: [raster] Add uninstall_rtpostgis.sql machinery
-----------------------------------+----------------------------------------
 Reporter:  mloskot                |       Owner:  robe         
     Type:  enhancement            |      Status:  new          
 Priority:  medium                 |   Milestone:  PostGIS 2.0.0
Component:  build/upgrade/install  |     Version:  trunk        
 Keywords:                         |  
-----------------------------------+----------------------------------------

Comment(by dustymugs):

 Attached bash script to generate uninstall sql files for postgis and
 raster.  As attached, script runs from raster/rt_pg.  Generated uninstall
 files appear to work for a clean data loaded with postgis.sql and
 rtpostgis.sql.

 At least on PostgreSQL 9.0, the order of DROP statements isn't perfect for
 TYPEs and any dependent functions as the DROP TYPE uses CASCADE.

 I'll attach the uninstall files.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/301#comment:10>
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