[postgis-tickets] [PostGIS] #5210: PostGIS upgrade from 2.5.5 to 3.2.2 fails

PostGIS trac at osgeo.org
Thu Aug 11 13:14:17 PDT 2022


#5210: PostGIS upgrade from 2.5.5 to 3.2.2 fails
-----------------------------------+---------------------------
 Reporter:  robe                   |      Owner:  strk
     Type:  defect                 |     Status:  new
 Priority:  blocker                |  Milestone:  PostGIS 3.0.7
Component:  build/upgrade/install  |    Version:  3.2.x
 Keywords:                         |
-----------------------------------+---------------------------
 Similar issue to topology because of the CVEE patch:

 https://lists.osgeo.org/pipermail/postgis-users/2022-August/045605.html

 {{{

 I've now upgraded to 3.2.2 and the issue remains.  When building and
 running make installcheck-upgrade against a 14.5 postgres cluster it fails
 with:

   NOTICE:  Packaging extension postgis
   ERROR:  function _postgis_deprecate(text,text,text) is not a member of
 extension "postgis"
   DETAIL:  An extension is not allowed to replace an object that it does
 not own.
   CONTEXT:  SQL statement "CREATE EXTENSION postgis SCHEMA public VERSION
 unpackaged;ALTER EXTENSION postgis UPDATE TO "3.2.2""
   PL/pgSQL function postgis_extensions_upgrade() line 71 at EXECUTE

 Am I doing something wrong or is this a fallout from CVE-2022-2625?

 To clarify from my previous email, I'm not upgrading from 2.5.5, I'm
 bulding
 3.2.2 in isolation and running its tests.

 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5210>
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