doc: Add documentation for PGLOADBALANCEHOSTS environment variable in libpq.
authorFujii Masao <[email protected]>
Fri, 21 Apr 2023 07:46:41 +0000 (16:46 +0900)
committerFujii Masao <[email protected]>
Fri, 21 Apr 2023 07:46:41 +0000 (16:46 +0900)
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

doc/src/sgml/libpq.sgml

index 27fe22de95335cbf9c161bcfef702acbd3b15bc4..cce25d06e690a137d6c42a09f71f3e7d18526678 100644 (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>