[postgis-tickets] [PostGIS] #2382: Can't upgrade postgis ERROR: attempt to redefine parameter "postgis.backend"

PostGIS trac at osgeo.org
Tue Jun 24 08:16:28 PDT 2014


#2382: Can't upgrade postgis ERROR: attempt to redefine parameter
"postgis.backend"
------------------------------------+---------------------------------------
  Reporter:  robe                   |       Owner:  pramsey      
      Type:  defect                 |      Status:  reopened     
  Priority:  blocker                |   Milestone:  PostGIS 2.2.0
 Component:  build/upgrade/install  |     Version:  trunk        
Resolution:                         |    Keywords:               
------------------------------------+---------------------------------------

Comment(by strk):

 r12641 fixes this by making the upgrade script LOAD any shared object
 referenced by the target script upfront. It fixes my run_test call:
 {{{
 make -C topology check RUNTESTFLAGS='-v --extension --upgrade-path 2.1.2--
 2.2.0dev'
 }}}

 As noted in the commit log, the presence of a pre-loaded postgis library
 would still break the upgrade (for upgrades attempted in a not-new
 session). The only way to fix that case I can think of would be to have a
 CREATE-OR-REPLACE like code to install the GUC -- this would be kind of
 the other way taken by r12351, which keeps the old definition rather than
 overriding it.

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