From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Get rid of obsolete parse_version helper function. |
Date: | 2013-03-26 13:33:30 |
Message-ID: | E1UKU0I-00028u-2O@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/901b89e37bb8e71224ee76987679010ff3c93c05
Modified Files
--------------
src/bin/pg_dump/dumputils.c | 23 -----------------------
src/bin/pg_dump/dumputils.h | 1 -
src/bin/pg_dump/pg_backup_db.c | 22 +++-------------------
src/bin/pg_dump/pg_dump.c | 7 +------
src/bin/pg_dump/pg_dumpall.c | 12 +++---------
src/bin/psql/command.c | 2 +-
6 files changed, 8 insertions(+), 59 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2013-03-26 13:45:11 | pgsql: Fix pg_dump against 9.1/9.2 servers. |
Previous Message | Heikki Linnakangas | 2013-03-26 07:51:50 | Re: [COMMITTERS] pgsql: Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt. |