This addresses a couple of issues in the documentation:
- Description of PG_COLOR was missing for some tools (pg_archivecleanup
and pg_test_fsync), while the other descriptions had grammar mistakes.
- pgbench supports more environment variables: PGUSER, PGHOST and
PGPORT.
- vacuumlo, oid2name and pgbench support coloring (HEAD only)
Author: Michael Paquier
Reviewed-by: Fabien Coelho, Daniel Gustafsson, Juan José Santamaría
Flecha
Discussion: https://postgr.es/m/
20200304075418[email protected]
Backpatch-through: 12
utilities, also uses the environment variables supported by
+
+ The environment variable PG_COLOR specifies whether to use
+ color in diagnostic messages. Possible values are
+ always, auto and
+ never.
+
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
+
+
Environment
+
+ The environment variable PG_COLOR specifies whether to use
+ color in diagnostic messages. Possible values are
+ always, auto and
+ never.
+
+
+
+
Notes
+
+
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
+
+
Environment
+
+ The environment variable PG_COLOR specifies whether to use
+ color in diagnostic messages. Possible values are
+ always, auto and
+ never.
+
+
+
See Also
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.
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.
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.
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.
+