Re: suggestion: psql configs in .config

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Caleb Cushing <xenoterracide(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: suggestion: psql configs in .config
Date: 2020-06-11 23:20:08
Message-ID: 20200611232008.GA32149@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gilles Darold 2020-06-12 05:50:13 Re: ora2pg error : DBD::Oracle::db prepare failed: ORA-28110
Previous Message Adrian Klaver 2020-06-11 22:40:58 Re: ora2pg error : DBD::Oracle::db prepare failed: ORA-28110