v1-0001-doc-Add-documentation-for-PGLOADBALANCEHOSTS-envi.patch
text/plain
Filename: v1-0001-doc-Add-documentation-for-PGLOADBALANCEHOSTS-envi.patch
Type: text/plain
Part: 0
Patch
Format: format-patch
Series: patch v1-0001
Subject: doc: Add documentation for PGLOADBALANCEHOSTS environment variable in libpq.
| File | + | − |
|---|---|---|
| doc/src/sgml/libpq.sgml | 10 | 0 |
From 7aaa813665ed159725998988431be15687b01494 Mon Sep 17 00:00:00 2001
From: Fujii Masao <fujii@postgresql.org>
Date: Fri, 21 Apr 2023 00:34:39 +0900
Subject: [PATCH v1] 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.
---
doc/src/sgml/libpq.sgml | 10 ++++++++++
1 file changed, 10 insertions(+)
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>
--
2.40.0