[postgis-tickets] [PostGIS] #3863: git builds always need upgrade

PostGIS trac at osgeo.org
Fri Nov 24 23:33:02 PST 2017


#3863: git builds always need upgrade
----------------------+---------------------------
  Reporter:  komzpa   |      Owner:  robe
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.4.2
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 re-reading the original ticket description I see there's a lack of "r" in
 one of the outputs. So this is a real bug.
 It's due to this snippet in sqldefines.h:
 {{{
 #if POSTGIS_SVN_REVISION
 #define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT
 '2.5.0dev'::text || ' r' || POSTGIS_SVN_REVISION::text AS version $$
 #else
 #define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT
 '2.5.0dev'::text AS version $$
 #endif
 }}}

 That logic (considering r0 as special) is not present in the
 implementation of postgis_scripts_installed, thus the discrepancy and the
 misleading warning.

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