Re: color by default - Mailing list pgsql-hackers

From Gavin Flower
Subject Re: color by default
Date
Msg-id 171d92f5-fc29-a207-3db9-c16c63bb2ea7@archidevsys.co.nz
Whole thread Raw
In response to Re: color by default  (Michael Paquier <michael@paquier.xyz>)
Responses Re: color by default  (Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>)
List pgsql-hackers
On 06/01/2020 18:38, Michael Paquier wrote:
> On Fri, Jan 03, 2020 at 01:10:30PM -0500, Robert Haas wrote:
>> On Thu, Jan 2, 2020 at 6:38 PM Gavin Flower
>> <GavinFlower@archidevsys.co.nz> wrote:
>>> I find coloured output very difficult to read, as the colours seem to be
>>> chosen on the basis everyone uses white as the background colour for
>>> terminals -- whereas I use black, as do a lot of other people.
>> I don't like colored output either.
> I don't like colored output either.  However there is an easy way to
> disable that so applying this patch does not change things IMO as
> anybody unhappy with colors can just disable it with a one-liner in
> a bashrc or such.
> --
> Michael

That's kind of like using a sledgehammer to crack a nut.

The colour in grep output is often useful.

I'd like to control it per application.


Cheers,
Gavin




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Add pg_file_sync() to adminpack
Next
From: Michael Paquier
Date:
Subject: Re: error context for vacuum to include block number (atomicprogress update)