diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index aed45f3428b..101c676e085 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -6517,7 +6517,7 @@ int PQcancelSocket(const PGcancelConn *cancelConn);
A valid descriptor will be greater than or equal to 0;
a result of -1 indicates that no server connection is currently open.
This might change as a result of calling any of the functions
- in this section on the PQcancelConn
+ in this section on the PGcancelConn
(except for and
PQcancelSocket itself).