summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao2023-04-21 07:46:41 +0000
committerFujii Masao2023-04-21 07:46:41 +0000
commit0a16512d40a58c5046c2ab4ca7eabb8393f31c18 (patch)
tree4dd29790c881d7bb231b23d50140ba080cb670c0
parent84e05beb111335c0755ef37a7f4d64822170b76d (diff)
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/[email protected]
-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 27fe22de95..cce25d06e6 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>