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

PostGIS trac at osgeo.org
Tue Jun 24 07:45: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 vmo):

 The patch prevents loading of the old postgis.so caused by the call to
 postgis_lib_version().

 <strk> calling lib_version() should fail to load the old library
 <strk> and hopefully that would trigger the EXCEPTION that would try
 script_installed()
 <strk> such failure should never occur if you're upgrading from 1.0.0, so
 the scripts_installed() problem doesn't hold
 <strk> the only failure point I can imagine is if the old library is
 already loaded
 <strk> like you source postgis_upgrade.sql in an existing session
 <strk> either with \i from a manually kept-open session or via some pooler

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