mirror of
https://github.com/postgres/postgres.git
synced 2025-05-08 07:21:33 +03:00
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 91fa7b4719ac. 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
This commit is contained in:
parent
cae4688ce8
commit
a613474411
@ -2565,9 +2565,7 @@ const char *PQsslAttribute(const PGconn *conn, const char *attribute_name);
|
|||||||
<term><literal>compression</literal></term>
|
<term><literal>compression</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
If SSL compression is in use, returns the name of the compression
|
Returns "on" if SSL compression is in use, else it returns "off".
|
||||||
algorithm, or "on" if compression is used but the algorithm is
|
|
||||||
not known. If compression is not in use, returns "off".
|
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user