Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
P.2. Configuring the Colors
Prev UpAppendix P. Color SupportHome Next

P.2. Configuring the Colors#

The actual colors to be used are configured using the environment variablePG_COLORS (note plural). The value is a colon-separated list ofkey=value pairs. The keys specify what the color is to be used for. The values are SGR (Select Graphic Rendition) specifications, which are interpreted by the terminal.

The following keys are currently in use:

error

used to highlight the texterror in error messages

warning

used to highlight the textwarning in warning messages

note

used to highlight the textdetail andhint in such messages

locus

used to highlight location information (e.g., program name and file name) in messages

The default value iserror=01;31:warning=01;35:note=01;36:locus=01 (01;31 = bold red,01;35 = bold magenta,01;36 = bold cyan,01 = bold default color).

Tip

This color specification format is also used by other software packages such asGCC,GNU coreutils, andGNU grep.


Prev Up Next
P.1. When Color is Used Home Appendix Q. Obsolete or Renamed Features
pdfepub
Go to Postgres Pro Standard 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp