From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add PQlibVersion() function to libpq |
Date: | 2010-12-22 13:25:59 |
Message-ID: | E1PVOhb-0006BW-7L@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add PQlibVersion() function to libpq
This function is like the PQserverVersion() function except
it returns the version of libpq, making it possible for a client
program or driver to determine which version of libpq is in
use at runtime, and not just at link time.
Suggested by Harald Armin Massa and several others.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=de9a4c27fefcc0d104bc9c97f4a93a49a25bf66d
Modified Files
--------------
doc/src/sgml/libpq.sgml | 44 ++++++++++++++++++++++++++++++++++++++
src/interfaces/libpq/exports.txt | 1 +
src/interfaces/libpq/fe-misc.c | 8 +++++++
src/interfaces/libpq/libpq-fe.h | 3 ++
4 files changed, 56 insertions(+), 0 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2010-12-22 14:12:10 | pgsql: Wording improvements for pg_ctl manual page. |
Previous Message | Robert Haas | 2010-12-22 03:15:37 | pgsql: Use memcmp() rather than strncmp() when shorter string length is |