[postgis-tickets] [PostGIS] #3429: upgrade from 2.1.3 to 2.2+ enters infinite loop
PostGIS
trac at osgeo.org
Thu Feb 25 02:50:53 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):
Stripping it down to the minimum amount of SQL, no upgrade required,
assuming you have done `make install` on both postgis 2.1.8 and svn trunk:
{{{
DROP DATABASE IF EXISTS pg21;
CREATE DATABASE pg21;
\c pg21
SELECT postgis_raster_lib_version();
CREATE EXTENSION postgis VERSION '2.1.8';
CREATE OR REPLACE FUNCTION bytea(raster)
RETURNS bytea
AS '$libdir/rtpostgis-2.3', 'RASTER_to_bytea'
LANGUAGE 'c' IMMUTABLE STRICT;
}}}
Basically get the old library loaded, then bring in the new one, which
causes the _PG_init() hook to run. Then things fall apart on Ubuntu (but
not on OSX)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3429#comment:22>
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