[postgis-tickets] [PostGIS] #5329: Version of currently installed postgis taken from wrong place ?

PostGIS trac at osgeo.org
Fri Jan 27 08:43:27 PST 2023


#5329: Version of currently installed postgis taken from wrong place ?
-----------------------------------+---------------------------
 Reporter:  strk                   |      Owner:  strk
     Type:  defect                 |     Status:  new
 Priority:  blocker                |  Milestone:  PostGIS 3.3.3
Component:  build/upgrade/install  |    Version:  3.3.x
 Keywords:                         |
-----------------------------------+---------------------------
 When installing a PostGIS version with extensions disabled you end up with
 a NEW shared library (.so) but no new .control file for extension.

 In this scenario, `postgis_extensions_upgrade()` will complan that you can
 NOT downgrade, thinking you're having the NEW version and attempting to
 bring you to the OLD version (from the .control file).

 It sounds like the "OLD" version should be read from script-only, not from
 .so file, so this sounds like a bug to be fixed ASAP.

 The guard against downgrade was introduced with
 [497e793493ccf96492665cbeab7482484e3f2a36/git] which was 3.3.0dev
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5329>
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