Re: .ini support for .pgpass

Поиск
Список
Период
Сортировка
От Aidan Van Dyk
Тема Re: .ini support for .pgpass
Дата
Msg-id BANLkTikxfAnTxXkPftrFWHric36KAxnx5g@mail.gmail.com
обсуждение исходный текст
Ответ на .ini support for .pgpass  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: .ini support for .pgpass  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
On Tue, Apr 5, 2011 at 6:34 PM, Joshua D. Drake <jd@commandprompt.com> wrote:

> Bare, useful, but not really friendly nor flexible. I would love to be
> able to do this:

> [ecom]
> hostname=
> port=
> database=
> username=
> password=

That looks a lot like a pg_service file.

> psql ecom
>
> boom, I am in.
>
> Thoughts?

So you're really looking to make psql use "service" connection
definitions more easily, not just retrieve the password associated
with the given (maybe defaulted) host:port:database:user, right?

a.

--
Aidan Van Dyk                                             Create like a god,
aidan@highrise.ca                                       command like a king,
http://www.highrise.ca/                                   work like a slave.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Extensions Dependency Checking
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: .ini support for .pgpass