[postgis-tickets] [PostGIS] #3120: Improve upgrade tester by adding some postgis objects before upgrade

PostGIS trac at osgeo.org
Fri May 15 09:10:43 PDT 2015


#3120: Improve upgrade tester by adding some postgis objects before upgrade
-----------------------------------+---------------------------
 Reporter:  strk                   |      Owner:  strk
     Type:  enhancement            |     Status:  new
 Priority:  medium                 |  Milestone:  PostGIS 2.2.0
Component:  build/upgrade/install  |    Version:  trunk
 Keywords:                         |
-----------------------------------+---------------------------
 For better upgrade testing it's worth creating some objects before the
 upgrade.
 That's how #3118 could have be cough earlier.
 I've a patch ready here:
 http://strk.keybit.net/tmp/extended_upgrade_test.patch

 This ticket is to discuss it if needed.

 One critical thing, for example, is to make sure the objects construction
 does not use functions which were not available at the time of the initial
 installation (think --upgrade-path).

 Maybe a better approach could be to let the caller specify a filename
 containing the upgrade preparation and another containing the upgrade
 cleanup scripts. And to allow for these filenames to be dependent on the
 source version.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3120>
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-tickets mailing list