pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Caleb Cushing <xenoterracide@gmail.com>
Cc: " <pgsql-general@postgresql.org>
Subject: Re: suggestion: psql configs in .config
Date: Thu, 11 Jun 2020 19:20:08 -0400
Message-ID: <20200611232008.GA32149@alvherre.pgsql> (raw)
In-Reply-To: <552453.1591912528@sss.pgh.pa.us>

On 2020-Jun-11, Tom Lane wrote:

> I'm finding it hard to see a compelling reason why that would be an
> improvement.  It would make psql randomly different from 95% of the
> other programs that have similar config files.  Or, if everybody
> somehow got on board with "let's put config files in ~/.config/",
> then there'd be clutter in that directory ... and we're back to
> square one.

Actually, they do: this has been kind-of standardized by freedesktop
as XDG_CONFIG_HOME -- see
https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html
My own ~/.config has 84 subdirs and files.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (5+ messages)

Message-ID: <20200611232008.GA32149@alvherre.pgsql>
Permalink:  ../20200611232008.GA32149@alvherre.pgsql/
Also on:    postgresql.org/message-id/20200611232008.GA32149@alvherre.pgsql

 · 

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-general@postgresql.org
  Cc: alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, xenoterracide@gmail.com
  Subject: Re: suggestion: psql configs in .config
  In-Reply-To: <20200611232008.GA32149@alvherre.pgsql>
  References: <552453.1591912528@sss.pgh.pa.us> <20200611232008.GA32149@alvherre.pgsql>

* 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