diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index ab09f35c9d7..e78d70828e1 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -4172,16 +4172,16 @@ int PQcancel(PGcancel *cancel, char *errbuf, int errbufsize); - Requests that the server abandon processing of the current - command. + PQrequestCancel is a deprecated variant of + PQcancel. int PQrequestCancel(PGconn *conn); - PQrequestCancel is a deprecated variant of - PQcancel. It operates directly on the + Requests that the server abandon processing of the current + command. It operates directly on the PGconn object, and in case of failure stores the error message in the PGconn object (whence it can be retrieved by PQerrorMessage). Although