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

PostGIS trac at osgeo.org
Thu Feb 25 09:59:59 PST 2016


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

Comment (by pramsey):

 The current problem seems to be strongly associated with the
 `rtpg_assignHookGDALEnabledDrivers` function. In 2.0 to 2.1 it was called
 in `_PG_init()` directly to read the environment variables and set up GDAL
 drivers the user wants.

 If you remove calls to `rtpg_assignHookGDALEnabledDrivers` in 2.3/svn, you
 can get a clean upgrade from 2.1, no hang. If you change the call to
 `rtpg_assignHookGDALEnabledDrivers` in 2.3/svn from a callback in the GUC
 setting function to a direct call in `_PG_init()` you can **also** get a
 clean upgrade from 2.1, no hang.

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