PostgreSQL

PostgreSQL Elephant Logo

N.1. When Color is Used

To use colorized output, set the environment variable PG_COLOR as follows:

  1. If the value is always, then color is used.

  2. If the value is auto and the standard error stream is associated with a terminal device, then color is used.

  3. Otherwise, color is not used.


Prev Up Next

Appendix N. Color Support

Home

N.2. Configuring the Colors

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Copyright © 1996-2023 The PostgreSQL Global Development Group