pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Caleb Cushing <xenoterracide@gmail.com>
Cc: " <pgsql-general@postgresql.org>
Subject: Re: suggestion: psql configs in .config
Date: Thu, 11 Jun 2020 17:55:28 -0400
Message-ID: <552453.1591912528@sss.pgh.pa.us> (raw)
In-Reply-To: <CAAHKNRG+xToR9AW8jY_2gdGm67d+gP7FRGyaPoBCBpqz793kEg@mail.gmail.com>
References: <CAAHKNRG+xToR9AW8jY_2gdGm67d+gP7FRGyaPoBCBpqz793kEg@mail.gmail.com>

Caleb Cushing <xenoterracide@gmail.com> writes:
> would it be possible to allow psql config files to reside in ~/.config/psql
> to help unclutter ~ obviously this should be some kind of cascading lookup
> first look for... e.g
> .config/psql/psqlrc
> .psqlrc

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.

Also, this is the kind of thing where version-to-version changes
in behavior will be REALLY user-unfriendly.

			regards, tom lane





view thread (5+ messages)  latest in thread

Message-ID: <552453.1591912528@sss.pgh.pa.us>
Permalink:  ../552453.1591912528@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/552453.1591912528@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, xenoterracide@gmail.com
  Subject: Re: suggestion: psql configs in .config
  In-Reply-To: <552453.1591912528@sss.pgh.pa.us>
  References: <CAAHKNRG+xToR9AW8jY_2gdGm67d+gP7FRGyaPoBCBpqz793kEg@mail.gmail.com> <552453.1591912528@sss.pgh.pa.us>

* 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