[postgis-tickets] [PostGIS] #2382: Can't upgrade postgis ERROR: attempt to redefine parameter "postgis.backend"
PostGIS
trac at osgeo.org
Mon Aug 10 11:29:26 PDT 2015
#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:
------------------------------------+---------------------------
Changes (by pramsey):
* status: closed => reopened
* resolution: fixed =>
Comment:
You haven't really solved the problem, you've just ducked it a different
way. It seems pretty trivial to exercise,
{{{
foo=# create extension postgis with version '2.1.8';
CREATE EXTENSION
foo=# alter extension postgis update to '2.2.0dev';
ERROR: attempt to redefine parameter "postgis.backend"
foo=#
}}}
As long as you CREATE and ALTER in the same session you have both
libraries loaded at once. In fact, if you do *anything* PostGIS-related
with your session once you connect and before you ALTER, you'll end up
with the problem. Why not retain the test to let existing GUCs survive
during init? (r12351)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2382#comment:38>
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