diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index c2f5a75ff67..7412df0bae6 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -17518,7 +17518,7 @@ SET search_path TO schema , sc
get this information from or
for a machine-readable version, .
Software developers should use server_version_num
- (available since 8.2) or instead
+ (available since 8.2) or instead
of parsing the text version.
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 95f6989f51e..e17cf18634d 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -107,7 +107,7 @@
-
+
PQconnectdbParamsPQconnectdbParams
@@ -172,7 +172,7 @@ PGconn *PQconnectdbParams(const char * const *keywords,
-
+
PQconnectdbPQconnectdb
@@ -199,7 +199,7 @@ PGconn *PQconnectdb(const char *conninfo);
-
+
PQsetdbLoginPQsetdbLogin
@@ -232,7 +232,7 @@ PGconn *PQsetdbLogin(const char *pghost,
-
+
PQsetdbPQsetdb
@@ -254,7 +254,7 @@ PGconn *PQsetdb(char *pghost,
-
+
PQconnectStartParamsPQconnectStartParams
PQconnectStartPQconnectStart
PQconnectPollPQconnectPoll
@@ -491,7 +491,7 @@ switch(PQstatus(conn))
-
+
PQconndefaultsPQconndefaults
@@ -538,7 +538,7 @@ typedef struct
-
+
PQconninfoPQconninfo
@@ -562,7 +562,7 @@ PQconninfoOption *PQconninfo(PGconn *conn);
-
+
PQconninfoParsePQconninfoParse
@@ -609,7 +609,7 @@ PQconninfoOption *PQconninfoParse(const char *conninfo, char **errmsg);
-
+
PQfinishPQfinish
@@ -630,7 +630,7 @@ void PQfinish(PGconn *conn);
-
+
PQresetPQreset
@@ -650,7 +650,7 @@ void PQreset(PGconn *conn);
-
+
PQresetStartPQresetStart
PQresetPollPQresetPoll
@@ -684,7 +684,7 @@ PostgresPollingStatusType PQresetPoll(PGconn *conn);
-
+
PQpingParamsPQpingParams
@@ -704,7 +704,7 @@ PGPing PQpingParams(const char * const *keywords,
The function returns one of the following values:
-
+
PQPING_OK
@@ -713,7 +713,7 @@ PGPing PQpingParams(const char * const *keywords,
-
+
PQPING_REJECT
@@ -723,7 +723,7 @@ PGPing PQpingParams(const char * const *keywords,
-
+
PQPING_NO_RESPONSE
@@ -736,7 +736,7 @@ PGPing PQpingParams(const char * const *keywords,
-
+
PQPING_NO_ATTEMPT
@@ -753,7 +753,7 @@ PGPing PQpingParams(const char * const *keywords,
-
+
PQpingPQping
@@ -1695,7 +1695,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
are fixed for the lifetime of the PGconn object.
-
+
PQdb
@@ -1713,7 +1713,7 @@ char *PQdb(const PGconn *conn);
-
+
PQuser
@@ -1731,7 +1731,7 @@ char *PQuser(const PGconn *conn);
-
+
PQpass
@@ -1760,7 +1760,7 @@ char *PQpass(const PGconn *conn);
-
+
PQhost
@@ -1807,7 +1807,7 @@ char *PQhost(const PGconn *conn);
-
+
PQhostaddr
@@ -1836,7 +1836,7 @@ char *PQhostaddr(const PGconn *conn);
-
+
PQport
@@ -1875,7 +1875,7 @@ char *PQport(const PGconn *conn);
-
+
PQtty
@@ -1897,7 +1897,7 @@ char *PQtty(const PGconn *conn);
-
+
PQoptions
@@ -1922,7 +1922,7 @@ char *PQoptions(const PGconn *conn);
are executed on the PGconn object.
-
+
PQstatus
@@ -1961,7 +1961,7 @@ ConnStatusType PQstatus(const PGconn *conn);
-
+
PQtransactionStatus
@@ -1988,7 +1988,7 @@ PGTransactionStatusType PQtransactionStatus(const PGconn *conn);
-
+
PQparameterStatus
@@ -2067,7 +2067,7 @@ const char *PQparameterStatus(const PGconn *conn, const char *paramName);
-
+
PQprotocolVersion
@@ -2095,7 +2095,7 @@ int PQprotocolVersion(const PGconn *conn);
-
+
PQserverVersion
@@ -2139,7 +2139,7 @@ int PQserverVersion(const PGconn *conn);
-
+
PQerrorMessage
@@ -2173,7 +2173,7 @@ char *PQerrorMessage(const PGconn *conn);
-
+
PQsocketPQsocket
@@ -2191,7 +2191,7 @@ int PQsocket(const PGconn *conn);
-
+
PQbackendPIDPQbackendPID
@@ -2218,7 +2218,7 @@ int PQbackendPID(const PGconn *conn);
-
+
PQconnectionNeedsPasswordPQconnectionNeedsPassword
@@ -2238,7 +2238,7 @@ int PQconnectionNeedsPassword(const PGconn *conn);
-
+
PQconnectionUsedPasswordPQconnectionUsedPassword
@@ -2264,7 +2264,7 @@ int PQconnectionUsedPassword(const PGconn *conn);
usually doesn't change after a connection is established.
-
+
PQsslInUsePQsslInUse
@@ -2278,7 +2278,7 @@ int PQsslInUse(const PGconn *conn);
-
+
PQsslAttributePQsslAttribute
@@ -2351,7 +2351,7 @@ const char *PQsslAttribute(const PGconn *conn, const char *attribute_name);
-
+
PQsslAttributeNamesPQsslAttributeNames
@@ -2363,7 +2363,7 @@ const char * const * PQsslAttributeNames(const PGconn *conn);
-
+
PQsslStructPQsslStruct
@@ -2404,7 +2404,7 @@ void *PQsslStruct(const PGconn *conn, const char *struct_name);
-
+
PQgetsslPQgetssl
@@ -2447,7 +2447,7 @@ void *PQgetssl(const PGconn *conn);
-
+
PQexec
@@ -2495,7 +2495,7 @@ PGresult *PQexec(PGconn *conn, const char *command);
-
+
PQexecParams
@@ -2682,7 +2682,7 @@ SELECT * FROM mytable WHERE x = $1::bigint;
-
+
PQprepare
PQprepare
@@ -2757,7 +2757,7 @@ PGresult *PQprepare(PGconn *conn,
-
+
PQexecPrepared
@@ -2801,7 +2801,7 @@ PGresult *PQexecPrepared(PGconn *conn,
-
+
PQdescribePrepared
@@ -2841,7 +2841,7 @@ PGresult *PQdescribePrepared(PGconn *conn, const char *stmtName);
-
+
PQdescribePortal
@@ -2894,7 +2894,7 @@ PGresult *PQdescribePortal(PGconn *conn, const char *portalName);
are subject to change in the future.
-
+
PQresultStatus
@@ -3034,7 +3034,7 @@ ExecStatusType PQresultStatus(const PGresult *res);
-
+
PQresStatus
@@ -3055,7 +3055,7 @@ char *PQresStatus(ExecStatusType status);
-
+
PQresultErrorMessage
@@ -3093,7 +3093,7 @@ char *PQresultErrorMessage(const PGresult *res);
-
+
PQresultVerboseErrorMessage
@@ -3135,7 +3135,7 @@ char *PQresultVerboseErrorMessage(const PGresult *res,
-
+
PQresultErrorFieldPQresultErrorField
@@ -3169,7 +3169,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);
-
+
PG_DIAG_SEVERITY_NONLOCALIZED
@@ -3409,7 +3409,7 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);
-
+
PQclearPQclear
@@ -3452,7 +3452,7 @@ void PQclear(PGresult *res);
-
+
PQntuples
@@ -3475,7 +3475,7 @@ int PQntuples(const PGresult *res);
-
+
PQnfields
@@ -3495,7 +3495,7 @@ int PQnfields(const PGresult *res);
-
+
PQfname
@@ -3522,7 +3522,7 @@ char *PQfname(const PGresult *res,
-
+
PQfnumber
@@ -3563,7 +3563,7 @@ PQfnumber(res, "\"BAR\"") 1
-
+
PQftable
@@ -3598,7 +3598,7 @@ Oid PQftable(const PGresult *res,
-
+
PQftablecol
@@ -3625,7 +3625,7 @@ int PQftablecol(const PGresult *res,
-
+
PQfformat
@@ -3651,7 +3651,7 @@ int PQfformat(const PGresult *res,
-
+
PQftype
@@ -3680,7 +3680,7 @@ Oid PQftype(const PGresult *res,
-
+
PQfmod
@@ -3708,7 +3708,7 @@ int PQfmod(const PGresult *res,
-
+
PQfsize
@@ -3736,7 +3736,7 @@ int PQfsize(const PGresult *res,
-
+
PQbinaryTuples
@@ -3764,7 +3764,7 @@ int PQbinaryTuples(const PGresult *res);
-
+
PQgetvalue
@@ -3814,7 +3814,7 @@ char *PQgetvalue(const PGresult *res,
-
+
PQgetisnull
@@ -3846,7 +3846,7 @@ int PQgetisnull(const PGresult *res,
-
+
PQgetlength
@@ -3876,7 +3876,7 @@ int PQgetlength(const PGresult *res,
-
+
PQnparams
@@ -3900,7 +3900,7 @@ int PQnparams(const PGresult *res);
-
+
PQparamtype
@@ -3925,7 +3925,7 @@ Oid PQparamtype(const PGresult *res, int param_number);
-
+
PQprint
@@ -3976,7 +3976,7 @@ typedef struct
-
+
PQcmdStatus
@@ -4003,7 +4003,7 @@ char *PQcmdStatus(PGresult *res);
-
+
PQcmdTuples
@@ -4037,7 +4037,7 @@ char *PQcmdTuples(PGresult *res);
-
+
PQoidValue
@@ -4062,7 +4062,7 @@ Oid PQoidValue(const PGresult *res);
-
+
PQoidStatus
@@ -4096,7 +4096,7 @@ char *PQoidStatus(const PGresult *res);
-
+
PQescapeLiteral
@@ -4160,7 +4160,7 @@ char *PQescapeLiteral(PGconn *conn, const char *str, size_t length);
-
+
PQescapeIdentifier
@@ -4215,7 +4215,7 @@ char *PQescapeIdentifier(PGconn *conn, const char *str, size_t length);
-
+
PQescapeStringConn
@@ -4270,7 +4270,7 @@ size_t PQescapeStringConn(PGconn *conn,
-
+
PQescapeString
@@ -4308,7 +4308,7 @@ size_t PQescapeString (char *to, const char *from, size_t length);
-
+
PQescapeByteaConn
@@ -4369,7 +4369,7 @@ unsigned char *PQescapeByteaConn(PGconn *conn,
-
+
PQescapeBytea
@@ -4402,7 +4402,7 @@ unsigned char *PQescapeBytea(const unsigned char *from,
-
+
PQunescapeBytea
@@ -4520,7 +4520,7 @@ unsigned char *PQunescapeBytea(const unsigned char *from, size_t *to_length);
respectively.
-
+
PQsendQuery
@@ -4547,7 +4547,7 @@ int PQsendQuery(PGconn *conn, const char *command);
-
+
PQsendQueryParams
@@ -4580,7 +4580,7 @@ int PQsendQueryParams(PGconn *conn,
-
+
PQsendPrepare
@@ -4612,7 +4612,7 @@ int PQsendPrepare(PGconn *conn,
-
+
PQsendQueryPrepared
@@ -4645,7 +4645,7 @@ int PQsendQueryPrepared(PGconn *conn,
-
+
PQsendDescribePrepared
@@ -4672,7 +4672,7 @@ int PQsendDescribePrepared(PGconn *conn, const char *stmtName);
-
+
PQsendDescribePortal
@@ -4699,7 +4699,7 @@ int PQsendDescribePortal(PGconn *conn, const char *portalName);
-
+
PQgetResult
@@ -4777,7 +4777,7 @@ PGresult *PQgetResult(PGconn *conn);
use of two more functions:
-
+
PQconsumeInput
@@ -4817,7 +4817,7 @@ int PQconsumeInput(PGconn *conn);
-
+
PQisBusy
@@ -4886,7 +4886,7 @@ int PQisBusy(PGconn *conn);
can be used.
-
+
PQsetnonblocking
@@ -4923,7 +4923,7 @@ int PQsetnonblocking(PGconn *conn, int arg);
-
+
PQisnonblocking
@@ -4946,7 +4946,7 @@ int PQisnonblocking(const PGconn *conn);
-
+
PQflush
@@ -5029,7 +5029,7 @@ int PQflush(PGconn *conn);
-
+
PQsetSingleRowMode
@@ -5093,7 +5093,7 @@ int PQsetSingleRowMode(PGconn *conn);
this section.
-
+
PQgetCancel
@@ -5123,7 +5123,7 @@ PGcancel *PQgetCancel(PGconn *conn);
-
+
PQfreeCancel
@@ -5146,7 +5146,7 @@ void PQfreeCancel(PGcancel *cancel);
-
+
PQcancel
@@ -5192,7 +5192,7 @@ int PQcancel(PGcancel *cancel, char *errbuf, int errbufsize);
-
+
PQrequestCancel
@@ -5471,7 +5471,7 @@ typedef struct pgNotify
that are also used in connection with query results:
-
+
PQnfields
@@ -5487,7 +5487,7 @@ typedef struct pgNotify
-
+
PQbinaryTuples
@@ -5506,7 +5506,7 @@ typedef struct pgNotify
-
+
PQfformat
@@ -5547,7 +5547,7 @@ typedef struct pgNotify
-
+
PQputCopyData
@@ -5586,7 +5586,7 @@ int PQputCopyData(PGconn *conn,
-
+
PQputCopyEnd
@@ -5652,7 +5652,7 @@ int PQputCopyEnd(PGconn *conn,
-
+
PQgetCopyData
@@ -5729,7 +5729,7 @@ int PQgetCopyData(PGconn *conn,
-
+
PQgetline
@@ -5768,7 +5768,7 @@ int PQgetline(PGconn *conn,
-
+
PQgetlineAsync
@@ -5827,7 +5827,7 @@ int PQgetlineAsync(PGconn *conn,
-
+
PQputline
@@ -5868,7 +5868,7 @@ int PQputline(PGconn *conn,
-
+
PQputnbytes
@@ -5895,7 +5895,7 @@ int PQputnbytes(PGconn *conn,
-
+
PQendcopy
@@ -5960,7 +5960,7 @@ int PQendcopy(PGconn *conn);
-
+
PQclientEncoding
@@ -5987,7 +5987,7 @@ char *pg_encoding_to_char(int encoding_id);
-
+
PQsetClientEncoding
@@ -6011,7 +6011,7 @@ int PQsetClientEncoding(PGconn *conn, const char *
-
+
PQsetErrorVerbosity
@@ -6058,7 +6058,7 @@ PGVerbosity PQsetErrorVerbosity(PGconn *conn, PGVerbosity verbosity);
-
+
PQsetErrorContextVisibility
@@ -6106,7 +6106,7 @@ PGContextVisibility PQsetErrorContextVisibility(PGconn *conn, PGContextVisibilit
-
+
PQtrace
@@ -6136,7 +6136,7 @@ void PQtrace(PGconn *conn, FILE *stream);
-
+
PQuntrace
@@ -6165,7 +6165,7 @@ void PQuntrace(PGconn *conn);
-
+
PQfreemem
@@ -6198,7 +6198,7 @@ void PQfreemem(void *ptr);
-
+
PQconninfoFree
@@ -6222,7 +6222,7 @@ void PQconninfoFree(PQconninfoOption *connOptions);
-
+
PQencryptPasswordConn
@@ -6276,7 +6276,7 @@ char *PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user,
-
+
PQencryptPassword
@@ -6299,7 +6299,7 @@ char *PQencryptPassword(const char *passwd, const char *user);
-
+
PQmakeEmptyPGresult
@@ -6336,7 +6336,7 @@ PGresult *PQmakeEmptyPGresult(PGconn *conn, ExecStatusType status);
-
+
PQfireResultCreateEvents
@@ -6376,7 +6376,7 @@ int PQfireResultCreateEvents(PGconn *conn, PGresult *res);
-
+
PQcopyResult
@@ -6415,7 +6415,7 @@ PGresult *PQcopyResult(const PGresult *src, int flags);
-
+
PQsetResultAttrs
@@ -6443,7 +6443,7 @@ int PQsetResultAttrs(PGresult *res, int numAttributes, PGresAttDesc *attDescs);
-
+
PQsetvalue
@@ -6477,7 +6477,7 @@ int PQsetvalue(PGresult *res, int tup_num, int field_num, char *value, int len);
-
+
PQresultAlloc
@@ -6503,7 +6503,7 @@ void *PQresultAlloc(PGresult *res, size_t nBytes);
-
+
PQresultMemorySize
@@ -6529,7 +6529,7 @@ size_t PQresultMemorySize(const PGresult *res);
-
+
PQlibVersion
@@ -6945,7 +6945,7 @@ typedef struct
Event Callback Procedure
-
+
PGEventProc
@@ -7000,7 +7000,7 @@ int eventproc(PGEventId evtId, void *evtInfo, void *passThrough)
Event Support Functions
-
+
PQregisterEventProc
@@ -7040,7 +7040,7 @@ int PQregisterEventProc(PGconn *conn, PGEventProc proc,
-
+
PQsetInstanceData
@@ -7062,7 +7062,7 @@ int PQsetInstanceData(PGconn *conn, PGEventProc proc, void *data);
-
+
PQinstanceData
@@ -7083,7 +7083,7 @@ void *PQinstanceData(const PGconn *conn, PGEventProc proc);
-
+
PQresultSetInstanceData
@@ -7113,7 +7113,7 @@ int PQresultSetInstanceData(PGresult *res, PGEventProc proc, void *data);
-
+
PQresultInstanceData
@@ -8232,7 +8232,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
-
+
PQinitOpenSSL
@@ -8268,7 +8268,7 @@ void PQinitOpenSSL(int do_ssl, int do_crypto);
-
+
PQinitSSL
@@ -8327,7 +8327,7 @@ void PQinitSSL(int do_ssl);
-
+
PQisthreadsafe