Add support for PG10
authorSteve Singer <steve@ssinger.info>
Mon, 10 Jul 2017 02:00:12 +0000 (22:00 -0400)
committerSteve Singer <steve@ssinger.info>
Mon, 10 Jul 2017 02:00:12 +0000 (22:00 -0400)
commitec07e91b3dd2e91a5922bc70fdf618ee4cbf3dd8
tree799953fac1dffa25151330f3ff14698d919aac8a
parent1585f5a793980ed3150d1cbfe20c0d23aa870ad3
Add support for PG10

PostgreSQL 10 does away with the old convention of $MAJOR.$MINOR.$PATCH

The existing version detection parsing code does not deal with the new
convention. Update the configure check, the slonik check and the slon check
to work with the new convention and continue to work with the old one.
config/acx_libpq.m4
src/slon/dbutils.c
src/slonik/dbutil.c