Get rid of obsolete parse_version helper function.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 901b89e37bb8e71224ee76987679010ff3c93c05
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2013-03-26T13:32:02Z
Releases: 9.3.0
Get rid of obsolete parse_version helper function.

For getting the server's version in numeric form, use PQserverVersion().
It does the exact same parsing as dumputils.c's parse_version(), and has
been around in libpq for a long time. For the client's version, just use
the PG_VERSION_NUM constant.

Files

PathChange+/−
src/bin/pg_dump/dumputils.c modified +0 −23
src/bin/pg_dump/dumputils.h modified +0 −1
src/bin/pg_dump/pg_backup_db.c modified +3 −19
src/bin/pg_dump/pg_dumpall.c modified +3 −9
src/bin/pg_dump/pg_dump.c modified +1 −6
src/bin/psql/command.c modified +1 −1