[postgis-tickets] [PostGIS] #4000: unpackaged--2.5.0dev upgrade test fails due to postgis.backend being redefined
PostGIS
trac at osgeo.org
Sat Jan 20 00:10:14 PST 2018
#4000: unpackaged--2.5.0dev upgrade test fails due to postgis.backend being
redefined
----------------------+---------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.5.0
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------+---------------------------
Comment (by strk):
I've added a --nodrop to the run_test.pl call to further inspect and I
confirm the upgrade is failing to upgrade some objects:
{{{
postgis_reg=# select count(*), probin from pg_proc where probin like
'%postgis%' group by probin;
107|$libdir/rtpostgis-2.5
16|/usr/src/postgis/repository-sync-scripts/postgis/regress/00-regress-
install/lib/postgis-2.5
460|$libdir/postgis-2.5
}}}
The above means that 16 postgis objects are not upgraded from unpackaged.
The checking code is failing to catch this because it only checks for
version compatibility, which is ok in this case (both are 2.5) - we need a
version that also checks for library path to match...
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4000#comment:2>
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