[postgis-tickets] [PostGIS] #3082: Error soft-upgrading from 2.1 to 2.2
PostGIS
trac at osgeo.org
Wed Nov 11 00:45:23 PST 2015
#3082: Error soft-upgrading from 2.1 to 2.2
------------------------------------+---------------------------
Reporter: strk | Owner: strk
Type: defect | Status: reopened
Priority: medium | Milestone: PostGIS 2.2.0
Component: build/upgrade/install | Version: trunk
Resolution: | Keywords:
------------------------------------+---------------------------
Comment (by strk):
Did you get to 2.2.0dev in an upgrade from 2.1.0 ?
I suspect you had a broken 2.2.0dev, basically, due to this bug.
The upgrade script won't add it from 2.2.0 to 2.2.0, but it should
add it from 2.1.x to 2.2.0. Try sourcing rtpostgis_upgrade.sql from
2.1.0 first and then get back to this 2.2.0 one.
Or you could manually edit the rtpostgis_upgrade.sql from 2.2.0
to tweak the conditional summarystats addition:
{{{
-- Type summarystats -- LastUpdated: 200
DO LANGUAGE 'plpgsql'
$postgis_proc_upgrade$
BEGIN
IF 200 > version_from_num
OR version_from_num IN ( 201 ) FROM _postgis_upgrade_info
THEN
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3082#comment:11>
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