pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
documentation for PGLOADBALANCEHOSTS environment variable in libpq
3+ messages / 2 participants
[nested] [flat]

* documentation for PGLOADBALANCEHOSTS environment variable in libpq
@ 2023-04-20 15:49 Fujii Masao <masao.fujii@oss.nttdata.com>
  2023-04-20 17:14 ` Re: documentation for PGLOADBALANCEHOSTS environment variable in libpq Jelte Fennema <postgres@jeltef.nl>
  0 siblings, 1 reply; 3+ messages in thread

From: Fujii Masao @ 2023-04-20 15:49 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org

Hi,

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

Attached patch adds documentation for PGLOADBALANCEHOSTS environment
variable in libpq.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
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



Attachments:

  [text/plain] v1-0001-doc-Add-documentation-for-PGLOADBALANCEHOSTS-envi.patch (1.2K, ../../e2b44cf7-aa16-e726-1d4a-a69508ebf6b9@oss.nttdata.com/2-v1-0001-doc-Add-documentation-for-PGLOADBALANCEHOSTS-envi.patch)
  download | inline diff:
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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: documentation for PGLOADBALANCEHOSTS environment variable in libpq
  2023-04-20 15:49 documentation for PGLOADBALANCEHOSTS environment variable in libpq Fujii Masao <masao.fujii@oss.nttdata.com>
@ 2023-04-20 17:14 ` Jelte Fennema <postgres@jeltef.nl>
  2023-04-21 07:48   ` Re: documentation for PGLOADBALANCEHOSTS environment variable in libpq Fujii Masao <masao.fujii@oss.nttdata.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Jelte Fennema @ 2023-04-20 17:14 UTC (permalink / raw)
  To: Fujii Masao <masao.fujii@oss.nttdata.com>; +Cc: pgsql-docs@lists.postgresql.org

Ah, yeah it seems I forgot to document that one. LGTM

On Thu, 20 Apr 2023 at 17:49, Fujii Masao <masao.fujii@oss.nttdata.com> wrote:
>
> Hi,
>
> Commit 7f5b19817e introduced the PGLOADBALANCEHOSTS environment
> variable for connection load balancing in libpq. However, I found that
> documentation for this variable was missing.
>
> Attached patch adds documentation for PGLOADBALANCEHOSTS environment
> variable in libpq.
>
> Regards,
>
> --
> Fujii Masao
> Advanced Computing Technology Center
> Research and Development Headquarters
> NTT DATA CORPORATION





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: documentation for PGLOADBALANCEHOSTS environment variable in libpq
  2023-04-20 15:49 documentation for PGLOADBALANCEHOSTS environment variable in libpq Fujii Masao <masao.fujii@oss.nttdata.com>
  2023-04-20 17:14 ` Re: documentation for PGLOADBALANCEHOSTS environment variable in libpq Jelte Fennema <postgres@jeltef.nl>
@ 2023-04-21 07:48   ` Fujii Masao <masao.fujii@oss.nttdata.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Fujii Masao @ 2023-04-21 07:48 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org



On 2023/04/21 2:14, Jelte Fennema wrote:
> Ah, yeah it seems I forgot to document that one. LGTM

Pushed. Thanks!

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2023-04-21 07:48 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 15:49 documentation for PGLOADBALANCEHOSTS environment variable in libpq Fujii Masao <masao.fujii@oss.nttdata.com>
2023-04-20 17:14 ` Jelte Fennema <postgres@jeltef.nl>
2023-04-21 07:48   ` Fujii Masao <masao.fujii@oss.nttdata.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox