Skip to content

Commit 51fd7cd

Browse files
doc: Fix PQsslAttribute docs for compression
The compression parameter to PQsslAttribute has never returned the compression method used, it has always returned "on" or "off since it was added in commit 91fa7b4. Backpatch through v10. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/B9EC60EC-F665-47E8-A221-398C76E382C9@yesql.se Backpatch-through: v10
1 parent 65b158a commit 51fd7cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2564,9 +2564,7 @@ const char *PQsslAttribute(const PGconn *conn, const char *attribute_name);
25642564
<term><literal>compression</literal></term>
25652565
<listitem>
25662566
<para>
2567-
If SSL compression is in use, returns the name of the compression
2568-
algorithm, or "on" if compression is used but the algorithm is
2569-
not known. If compression is not in use, returns "off".
2567+
Returns "on" if SSL compression is in use, else it returns "off".
25702568
</para>
25712569
</listitem>
25722570
</varlistentry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy