diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 57bfc8fc71..4b9912a5b2 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -2563,9 +2563,7 @@ const char *PQsslAttribute(const PGconn *conn, const char *attribute_name);
compression
- If SSL compression is in use, returns the name of the compression
- algorithm, or "on" if compression is used but the algorithm is
- not known. If compression is not in use, returns "off".
+ Returns "on" if SSL compression is in use, else it returns "off".