From cae700c0bad3f46f5de142cbe26715745275b730 Mon Sep 17 00:00:00 2001
From: Sai Pranav <rajasaipranav0@gmail.com>
Date: Thu, 5 Nov 2026 10:45:44 +0530
Subject: [PATCH v1] doc: Remove the libpq environment note from
 pg_combinebackup

pg_combinebackup does not connect to a server: it reads local backup
directories.  It does not link or use libpq (its only dependency is
frontend_code / libpgfeutils), so the libpq environment variables do not
apply to it.  The note was copied from pg_basebackup, which does use
libpq.  Remove it; the PG_COLOR note below is unaffected.

Backpatch-through: 17
---
 doc/src/sgml/ref/pg_combinebackup.sgml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/doc/src/sgml/ref/pg_combinebackup.sgml b/doc/src/sgml/ref/pg_combinebackup.sgml
index f5d7e177b36..3f3727b7a45 100644
--- a/doc/src/sgml/ref/pg_combinebackup.sgml
+++ b/doc/src/sgml/ref/pg_combinebackup.sgml
@@ -325,12 +325,6 @@ PostgreSQL documentation
  <refsect1>
   <title>Environment</title>
 
-  <para>
-   This utility, like most other <productname>PostgreSQL</productname> utilities,
-   uses the environment variables supported by <application>libpq</application>
-   (see <xref linkend="libpq-envars"/>).
-  </para>
-
   <para>
    The environment variable <envar>PG_COLOR</envar> specifies whether to use
    color in diagnostic messages. Possible values are
-- 
2.50.1 (Apple Git-155)

