[postgis-tickets] [PostGIS] #3892: Review safety and behavior of CREATE EXTENSION from UNPACKAGED

PostGIS trac at osgeo.org
Mon Oct 9 23:41:10 PDT 2017


#3892: Review safety and behavior of CREATE EXTENSION from UNPACKAGED
----------------------+---------------------------
  Reporter:  strk     |      Owner:  pramsey
      Type:  task     |     Status:  new
  Priority:  high     |  Milestone:  PostGIS 2.4.1
 Component:  postgis  |    Version:  2.4.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 > Worst case is they don't have an installation of what they came from
 > so no unpackaged script for them to run so they are stuck unpackaged
 > because the only ones available error out.

 In this case it would be nice of us to make the "FROM unpackaged"
 embed an upgrade, wouldn't it ?

 > If the unpackaged actually works, then what postgresql thinks you are
 > running is not what you have installed.

 This case would also be fixed if we make the "FROM unpackaged"
 embed an upgrade, right ?

 > So postgis_full_version() whould need to look at the
 > pg_available_extensions.installed_version and compare it to what
 > postgis_lib_version() says

 Could you ticket this one separately, it's a good idea !

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3892#comment:6>
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