doc: Add standard Environment section to pg_amcheck ref page
authorPeter Eisentraut <[email protected]>
Wed, 15 May 2024 11:05:30 +0000 (13:05 +0200)
committerPeter Eisentraut <[email protected]>
Wed, 15 May 2024 11:06:12 +0000 (13:06 +0200)
Reviewed-by: Daniel Gustafsson <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/8458c9c5-18f1-46d7-94c4-1c30e4f44908%40eisentraut.org

doc/src/sgml/ref/pg_amcheck.sgml

index 067c806b46d00e172e96f166147bf8ace6f64d69..2b9634b3ac2dfb87a51e5aeb95535a9f257bb8f4 100644 (file)
@@ -644,6 +644,24 @@ PostgreSQL documentation
   </para>
  </refsect1>
 
+ <refsect1>
+  <title>Environment</title>
+
+  <para>
+   <command>pg_amcheck</command>, like most other <productname>PostgreSQL</productname>
+   utilities,
+   also 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
+   <literal>always</literal>, <literal>auto</literal> and
+   <literal>never</literal>.
+  </para>
+ </refsect1>
+
  <refsect1>
   <title>Notes</title>