aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2023-04-21 16:46:41 +0900
committerFujii Masao <fujii@postgresql.org>2023-04-21 16:46:41 +0900
commit0a16512d40a58c5046c2ab4ca7eabb8393f31c18 (patch)
tree4dd29790c881d7bb231b23d50140ba080cb670c0
parent84e05beb111335c0755ef37a7f4d64822170b76d (diff)
downloadpostgresql-0a16512d40a58c5046c2ab4ca7eabb8393f31c18.tar.gz
postgresql-0a16512d40a58c5046c2ab4ca7eabb8393f31c18.zip
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
-rw-r--r--doc/src/sgml/libpq.sgml10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 27fe22de953..cce25d06e69 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -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>