From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | tanghy(dot)fnst(at)cn(dot)fujitsu(dot)com |
Subject: | BUG #16108: Colorization to the output of command-line has unproperly behaviors at Windows platform |
Date: | 2019-11-12 08:29:10 |
Message-ID: | 16108-134692e97146b7bc@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
The following bug has been logged on the website:
Bug reference: 16108
Logged by: Haiying Tang
Email address: tanghy(dot)fnst(at)cn(dot)fujitsu(dot)com
PostgreSQL version: 12.0
Operating system: Windows
Description:
Hello
I found the following release notes in PG12 is not working properly at
Windows.
> •Add colorization to the output of command-line utilities
Following the release note, I've set the the environment variable PG_COLOR
to auto, then I run pg_dump command with an incorrect passwd.
However, the command-line output is not colorized as the release notes
said.
Before PG_COLOR=auto is set: pg_dump: error: connection to database
"tanghy.fnst" failed: FATAL:
After PG_COLOR=auto is set: [01mpg_dump: [0m[01;31merror: [0mconnection
to database "tanghy.fnst" failed: FATAL
I think the colorization to the output of command-line is not supported at
Windows.
Maybe function "pg_logging_init" at source "src\common\logging.c" should add
a platform check.
Besides, the related release note of PG12 should add some description about
it.
Best Regards,
Tang
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2019-11-12 08:39:17 | Re: BUG #16108: Colorization to the output of command-line has unproperly behaviors at Windows platform |
Previous Message | Kyotaro Horiguchi | 2019-11-12 07:22:01 | Re: [BUG FIX] Uninitialized var fargtypes used. |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2019-11-12 08:39:17 | Re: BUG #16108: Colorization to the output of command-line has unproperly behaviors at Windows platform |
Previous Message | Konstantin Knizhnik | 2019-11-12 08:27:24 | Re: Why overhead of SPI is so large? |