[postgis-tickets] [PostGIS] #3614: support PostgreSQL 10.0
PostGIS
trac at osgeo.org
Sun Aug 28 19:45:56 PDT 2016
#3614: support PostgreSQL 10.0
----------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: closed
Priority: blocker | Milestone: PostGIS 2.4.0
Component: postgis | Version: trunk
Resolution: fixed | Keywords:
----------------------+---------------------------
Comment (by robe):
strk see Tom's comment. He said we shouldn't even be using pg_config
--version. Wasn't sure if we should change or good reason why we are not
using what he proposes.
From https://www.postgresql.org/message-id/1585.1472410329%40sss.pgh.pa.us
{{{
"Regina Obe" <lr(at)pcorp(dot)us> writes:
> The routine in PostGIS to parse out the version number from pg_config is
> breaking in the 10 cycle
TBH, I wonder why you are doing that in the first place; it does not
seem like the most reliable source of version information. If you
need to do compile-time tests, PG_CATALOG_VERSION is considered the
best thing to look at, or VERSION_NUM in Makefiles.
However, if you're dead set on getting a version number out of a string
representation, you'll need to make changes similar to commit
69dc5ae408f68c302029a6b43912a2cc16b1256c.
regards, tom lane
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3614#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