[postgis-tickets] [PostGIS] #3429: upgrade from 2.1.3 to 2.2+ enters infinite loop

PostGIS trac at osgeo.org
Fri Feb 26 01:00:38 PST 2016


#3429: upgrade from 2.1.3 to 2.2+ enters infinite loop
------------------------------------+---------------------------
  Reporter:  strk                   |      Owner:  dustymugs
      Type:  defect                 |     Status:  new
  Priority:  blocker                |  Milestone:  PostGIS 2.2.2
 Component:  build/upgrade/install  |    Version:  2.2.x
Resolution:                         |   Keywords:
------------------------------------+---------------------------

Comment (by pramsey):

 I think renaming `rt_init_allocators ` is completely valid, as that
 function name is actually a very arbitrary wrapper of the function
 actually doing the work, `rt_set_handlers`. In fact, you'll find other
 `rt_init_allocators ` in places like raster2pgsql, it's just a
 convenience, so why not rename it?

 Also, I see no reason why we cannot retrofit the older 2.2 and 2.1
 releases to not use the lazy-loading approach to initializing allocators
 and do it explicitly, it's a relatively small change and everything
 regresses fine. Since rtpostgis is not a shared library, it's not like we
 have any external dependency issues on changing the way it works, even in
 a patch release.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3429#comment:30>
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