Re: suggestion: psql configs in .config

2020-06-11 Thread Alvaro Herrera
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

Re: suggestion: psql configs in .config

2020-06-11 Thread Tom Lane
Caleb Cushing 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

Re: suggestion: psql configs in .config

2020-06-11 Thread Caleb Cushing
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.johns...@gmail.com> wrote: > On Thursday, June 11, 2020, Caleb Cushing wrote: > >> would it be possible to allow psql config

Re: suggestion: psql configs in .config

2020-06-11 Thread David G. Johnston
On Thursday, June 11, 2020, Caleb Cushing 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

suggestion: psql configs in .config

2020-06-11 Thread Caleb Cushing
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 or vice versa -- Caleb Cushing https://xenoterracide.com