Re: suggestion: psql configs in .config

Поиск
Список
Период
Сортировка
От Caleb Cushing
Тема Re: suggestion: psql configs in .config
Дата
Msg-id CAAHKNRH2NSOTe-ZMn5w5t1UdTSUGE8PNtCuzED8e5GYjFgWcaw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: suggestion: psql configs in .config  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Caleb Cushing
Дата:
Сообщение: Re: suggestion/question pgpass alias?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: suggestion: psql configs in .config