From f79fbb2bec3bf44c7b980f059ce0f0540b5f669f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 11 Aug 2004 18:06:01 +0000 Subject: Add PQserverVersion() to libpq to provide more-convenient access to the server version number. This commit also removes bogus DOS line endings from libpqddll.def. Greg Sabino Mullane --- src/interfaces/libpq/libpq-fe.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/interfaces/libpq/libpq-fe.h') diff --git a/src/interfaces/libpq/libpq-fe.h b/src/interfaces/libpq/libpq-fe.h index 7a143888bb..fbd31d01bf 100644 --- a/src/interfaces/libpq/libpq-fe.h +++ b/src/interfaces/libpq/libpq-fe.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.104 2004/03/24 03:44:59 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.105 2004/08/11 18:06:01 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -248,6 +248,7 @@ extern PGTransactionStatusType PQtransactionStatus(const PGconn *conn); extern const char *PQparameterStatus(const PGconn *conn, const char *paramName); extern int PQprotocolVersion(const PGconn *conn); +extern int PQserverVersion(const PGconn *conn); extern char *PQerrorMessage(const PGconn *conn); extern int PQsocket(const PGconn *conn); extern int PQbackendPID(const PGconn *conn); -- cgit v1.2.1