diff --git a/doc/src/sgml/oid2name.sgml b/doc/src/sgml/oid2name.sgml
index c7ebd61c6bf..dfe36827391 100644
--- a/doc/src/sgml/oid2name.sgml
+++ b/doc/src/sgml/oid2name.sgml
@@ -223,6 +223,13 @@
utilities, also uses the environment variables supported by
libpq (see ).
+
+
+ The environment variable PG_COLOR specifies whether to use
+ color in diagnostic messages. Possible values are
+ always, auto and
+ never.
+
diff --git a/doc/src/sgml/ref/clusterdb.sgml b/doc/src/sgml/ref/clusterdb.sgml
index d11ac2dc9c4..177856ca74d 100644
--- a/doc/src/sgml/ref/clusterdb.sgml
+++ b/doc/src/sgml/ref/clusterdb.sgml
@@ -279,8 +279,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/createdb.sgml b/doc/src/sgml/ref/createdb.sgml
index 8fc8128bf9c..2fca26237e3 100644
--- a/doc/src/sgml/ref/createdb.sgml
+++ b/doc/src/sgml/ref/createdb.sgml
@@ -327,8 +327,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml
index abe25f17d01..9d24df8b7a8 100644
--- a/doc/src/sgml/ref/createuser.sgml
+++ b/doc/src/sgml/ref/createuser.sgml
@@ -405,8 +405,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/dropdb.sgml b/doc/src/sgml/ref/dropdb.sgml
index f79bbb9a85a..28b18bfcb0c 100644
--- a/doc/src/sgml/ref/dropdb.sgml
+++ b/doc/src/sgml/ref/dropdb.sgml
@@ -245,8 +245,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/dropuser.sgml b/doc/src/sgml/ref/dropuser.sgml
index 72bb7e8535c..f9aab340d3b 100644
--- a/doc/src/sgml/ref/dropuser.sgml
+++ b/doc/src/sgml/ref/dropuser.sgml
@@ -225,8 +225,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml
index da5c8f53075..a04a1801650 100644
--- a/doc/src/sgml/ref/initdb.sgml
+++ b/doc/src/sgml/ref/initdb.sgml
@@ -466,8 +466,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml
index fc9ba2e8b00..29bf2f9b979 100644
--- a/doc/src/sgml/ref/pg_basebackup.sgml
+++ b/doc/src/sgml/ref/pg_basebackup.sgml
@@ -706,8 +706,8 @@ PostgreSQL documentation
The environment variable PG_COLOR specifies whether to use
- color in diagnostics messages. Possible values are
- always, auto,
+ color in diagnostic messages. Possible values are
+ always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_checksums.sgml b/doc/src/sgml/ref/pg_checksums.sgml
index 162bafdb331..6baf9deaaea 100644
--- a/doc/src/sgml/ref/pg_checksums.sgml
+++ b/doc/src/sgml/ref/pg_checksums.sgml
@@ -191,8 +191,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_controldata.sgml b/doc/src/sgml/ref/pg_controldata.sgml
index abac59aa500..4aae8b193de 100644
--- a/doc/src/sgml/ref/pg_controldata.sgml
+++ b/doc/src/sgml/ref/pg_controldata.sgml
@@ -73,8 +73,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index 4bcd4bdaefe..13bd320b313 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -1229,8 +1229,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml
index 7268be9f3ef..f0859896c54 100644
--- a/doc/src/sgml/ref/pg_dumpall.sgml
+++ b/doc/src/sgml/ref/pg_dumpall.sgml
@@ -701,8 +701,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_isready.sgml b/doc/src/sgml/ref/pg_isready.sgml
index 68447b5093d..3d5b551b87f 100644
--- a/doc/src/sgml/ref/pg_isready.sgml
+++ b/doc/src/sgml/ref/pg_isready.sgml
@@ -167,8 +167,8 @@ PostgreSQL documentation
The environment variable PG_COLOR specifies whether to use
- color in diagnostics messages. Possible values are
- always, auto,
+ color in diagnostic messages. Possible values are
+ always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_receivewal.sgml b/doc/src/sgml/ref/pg_receivewal.sgml
index 177e9211c08..febfc0ba135 100644
--- a/doc/src/sgml/ref/pg_receivewal.sgml
+++ b/doc/src/sgml/ref/pg_receivewal.sgml
@@ -420,8 +420,8 @@ PostgreSQL documentation
The environment variable PG_COLOR specifies whether to use
- color in diagnostics messages. Possible values are
- always, auto,
+ color in diagnostic messages. Possible values are
+ always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml
index 4c79f90414d..41508fdc1e5 100644
--- a/doc/src/sgml/ref/pg_recvlogical.sgml
+++ b/doc/src/sgml/ref/pg_recvlogical.sgml
@@ -400,8 +400,8 @@ PostgreSQL documentation
The environment variable PG_COLOR specifies whether to use
- color in diagnostics messages. Possible values are
- always, auto,
+ color in diagnostic messages. Possible values are
+ always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_resetwal.sgml b/doc/src/sgml/ref/pg_resetwal.sgml
index 8a9e22d050f..3b6c32c8d32 100644
--- a/doc/src/sgml/ref/pg_resetwal.sgml
+++ b/doc/src/sgml/ref/pg_resetwal.sgml
@@ -328,8 +328,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml
index c6013546a0e..e9a145ad6ea 100644
--- a/doc/src/sgml/ref/pg_restore.sgml
+++ b/doc/src/sgml/ref/pg_restore.sgml
@@ -827,8 +827,8 @@
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_rewind.sgml b/doc/src/sgml/ref/pg_rewind.sgml
index 42d29edd4e9..f64d659522e 100644
--- a/doc/src/sgml/ref/pg_rewind.sgml
+++ b/doc/src/sgml/ref/pg_rewind.sgml
@@ -269,8 +269,8 @@ PostgreSQL documentation
The environment variable PG_COLOR specifies whether to use
- color in diagnostics messages. Possible values are
- always, auto,
+ color in diagnostic messages. Possible values are
+ always, auto and
never.
diff --git a/doc/src/sgml/ref/pg_waldump.sgml b/doc/src/sgml/ref/pg_waldump.sgml
index 329c10e4303..667093f0601 100644
--- a/doc/src/sgml/ref/pg_waldump.sgml
+++ b/doc/src/sgml/ref/pg_waldump.sgml
@@ -223,8 +223,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/pgarchivecleanup.sgml b/doc/src/sgml/ref/pgarchivecleanup.sgml
index a3d3538b28a..84c2df572a6 100644
--- a/doc/src/sgml/ref/pgarchivecleanup.sgml
+++ b/doc/src/sgml/ref/pgarchivecleanup.sgml
@@ -147,6 +147,18 @@ pg_archivecleanup: removing file "archive/00000001000000370000000E"
+
+ Environment
+
+
+ The environment variable PG_COLOR specifies whether to use
+ color in diagnostic messages. Possible values are
+ always, auto and
+ never.
+
+
+
+
Notes
diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml
index 4c48a58ed27..41b3880c91f 100644
--- a/doc/src/sgml/ref/pgbench.sgml
+++ b/doc/src/sgml/ref/pgbench.sgml
@@ -883,6 +883,37 @@ pgbench options d
+
+ Environment
+
+
+
+ PGHOST
+ PGPORT
+ PGUSER
+
+
+
+ Default connection parameters.
+
+
+
+
+
+
+ This utility, like most other PostgreSQL utilities,
+ uses the environment variables supported by libpq
+ (see ).
+
+
+
+ The environment variable PG_COLOR specifies whether to use
+ color in diagnostic messages. Possible values are
+ always, auto and
+ never.
+
+
+
Notes
diff --git a/doc/src/sgml/ref/pgtestfsync.sgml b/doc/src/sgml/ref/pgtestfsync.sgml
index 501157cb369..c6aa5673f14 100644
--- a/doc/src/sgml/ref/pgtestfsync.sgml
+++ b/doc/src/sgml/ref/pgtestfsync.sgml
@@ -103,6 +103,17 @@
+
+ Environment
+
+
+ The environment variable PG_COLOR specifies whether to use
+ color in diagnostic messages. Possible values are
+ always, auto and
+ never.
+
+
+
See Also
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 67ecec27cf9..402c4b1b266 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -4501,8 +4501,8 @@ $endif
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/reindexdb.sgml b/doc/src/sgml/ref/reindexdb.sgml
index 0128118cc7a..f6c3d9538bb 100644
--- a/doc/src/sgml/ref/reindexdb.sgml
+++ b/doc/src/sgml/ref/reindexdb.sgml
@@ -380,8 +380,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/ref/vacuumdb.sgml b/doc/src/sgml/ref/vacuumdb.sgml
index cf7f77ba30a..fd1dc140aba 100644
--- a/doc/src/sgml/ref/vacuumdb.sgml
+++ b/doc/src/sgml/ref/vacuumdb.sgml
@@ -474,8 +474,8 @@ PostgreSQL documentation
PG_COLOR
- Specifies whether to use color in diagnostics messages. Possible values
- are always, auto,
+ Specifies whether to use color in diagnostic messages. Possible values
+ are always, auto and
never.
diff --git a/doc/src/sgml/vacuumlo.sgml b/doc/src/sgml/vacuumlo.sgml
index 0b57a77af41..26b764d54b7 100644
--- a/doc/src/sgml/vacuumlo.sgml
+++ b/doc/src/sgml/vacuumlo.sgml
@@ -196,6 +196,13 @@
also uses the environment variables supported by libpq
(see ).
+
+
+ The environment variable PG_COLOR specifies whether to use
+ color in diagnostic messages. Possible values are
+ always, auto and
+ never.
+