pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: PGCOLOR? (Re: pgsql: Unified logging system for command-line programs)
Date: Tue, 9 Apr 2019 14:01:12 +0200
Message-ID: <20190409120112.GC1961@msg.df7cb.de> (raw)
In-Reply-To: <d483cdb6-db98-9b2f-7f2b-eed0f4bd975d@2ndquadrant.com>
References: <E1hB1d6-00051m-1s@gemulon.postgresql.org>
	<20190409092221.GA1961@msg.df7cb.de>
	<d483cdb6-db98-9b2f-7f2b-eed0f4bd975d@2ndquadrant.com>

Re: Peter Eisentraut 2019-04-09 <d483cdb6-db98-9b2f-7f2b-eed0f4bd975d@2ndquadrant.com>
> I'm okay with changing it.  As you indicate, I chose the name so that it
> doesn't look like a libpq variable.  There are some other PG_ variables
> throughout the code, but those appear to be mostly for internal use.
> Also, there is GCC_COLORS, LS_COLORS, etc.  But perhaps this wisdom will
> be lost on users who just read the man page and get confused. ;-)

Do we need two variables to control this? I was only looking at
PG_COLOR, and noticed PG_COLORS only later. Keeping PG_COLORS aligned
with {GCC,LS}_COLORS makes sense. How about removing PG_COLOR, and
making "auto" the default? (Maybe we could still support "PG_COLORS=off")

Christoph





view thread (7+ messages)  latest in thread

Message-ID: <20190409120112.GC1961@msg.df7cb.de>
Permalink:  ../20190409120112.GC1961@msg.df7cb.de/
Also on:    postgresql.org/message-id/20190409120112.GC1961@msg.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: myon@debian.org, peter.eisentraut@2ndquadrant.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: PGCOLOR? (Re: pgsql: Unified logging system for command-line programs)
  In-Reply-To: <20190409120112.GC1961@msg.df7cb.de>
  References: <E1hB1d6-00051m-1s@gemulon.postgresql.org> <20190409092221.GA1961@msg.df7cb.de> <d483cdb6-db98-9b2f-7f2b-eed0f4bd975d@2ndquadrant.com> <20190409120112.GC1961@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox