Re: suggestion: psql configs in .config - Mailing list pgsql-general

From Caleb Cushing
Subject Re: suggestion: psql configs in .config
Date
Msg-id CAAHKNRH2NSOTe-ZMn5w5t1UdTSUGE8PNtCuzED8e5GYjFgWcaw@mail.gmail.com
Whole thread Raw
In response to Re: suggestion: psql configs in .config  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
Got it. but... I guess I'm hoping this could be added to the default lookup path, no customization needed.

On Thu, Jun 11, 2020 at 3:33 PM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Thursday, June 11, 2020, Caleb Cushing <xenoterracide@gmail.com> wrote:
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

libpq consults environment variables to allow for user customization.

David J.



--

pgsql-general by date:

Previous
From: Caleb Cushing
Date:
Subject: Re: suggestion/question pgpass alias?
Next
From: Tom Lane
Date:
Subject: Re: suggestion: psql configs in .config