[postgis-tickets] [PostGIS] #3822: Have postgis_full_version() also denote which version of PostgreSQL the scripts were built against

PostGIS trac at osgeo.org
Mon Aug 28 13:06:27 PDT 2017


#3822: Have postgis_full_version() also denote which version of PostgreSQL the
scripts were built against
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.5.0
Component:  postgis  |    Version:  2.3.x
 Keywords:           |
---------------------+---------------------------
 Right now our postgis_full_version() will only warn if the scripts are
 older PostGIS micro from PostGIS binary.

 This makes it possible for example for someone to do a

 soft upgrade from 2.2 to 2.3 on PostgreSQL 9.3

 and then a pg_upgrade to PostgreSQL 9.5 and not know that they are missing
 the new BRIN operators or KNN true dist operators

 SELECT postgis_full_version();

 should warn and tell them to run something like


 {{{
 ALTER EXTENSION postgis UPDATE postgis-2.3.4next;
 ALTER EXTENSION postgis UPDATE postgis-2.3.4;
 }}}

 to fix the issue.

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