1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00

doc: Add documentation for PGLOADBALANCEHOSTS environment variable in libpq.

Commit 7f5b19817e introduced the PGLOADBALANCEHOSTS environment
variable for connection load balancing in libpq. However, documentation
for this variable was missing.

Author: Fujii Masao
Reviewed-by: Jelte Fennema
Discussion: https://postgr.es/m/e2b44cf7-aa16-e726-1d4a-a69508ebf6b9@oss.nttdata.com
This commit is contained in:
Fujii Masao
2023-04-21 16:46:41 +09:00
parent 84e05beb11
commit 0a16512d40

View File

@ -8307,6 +8307,16 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
linkend="libpq-connect-target-session-attrs"/> connection parameter.
</para>
</listitem>
<listitem>
<para>
<indexterm>
<primary><envar>PGLOADBALANCEHOSTS</envar></primary>
</indexterm>
<envar>PGLOADBALANCEHOSTS</envar> behaves the same as the <xref
linkend="libpq-connect-load-balance-hosts"/> connection parameter.
</para>
</listitem>
</itemizedlist>
</para>