]> granicus.if.org Git - postgresql/commit
Get rid of obsolete parse_version helper function.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 26 Mar 2013 13:21:57 +0000 (15:21 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 26 Mar 2013 13:32:02 +0000 (15:32 +0200)
commit901b89e37bb8e71224ee76987679010ff3c93c05
tree53e8156f6a64650c34c01f3de722ab540b613c5f
parentec143f94051779bb5d07419723529b4cc4fcce95
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.
src/bin/pg_dump/dumputils.c
src/bin/pg_dump/dumputils.h
src/bin/pg_dump/pg_backup_db.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c
src/bin/psql/command.c