Re: .ini support for .pgpass

From: Aidan Van Dyk <aidan(at)highrise(dot)ca>
To: jd(at)commandprompt(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: .ini support for .pgpass
Date: 2011-04-05 22:52:21
Message-ID: BANLkTikxfAnTxXkPftrFWHric36KAxnx5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 5, 2011 at 6:34 PM, Joshua D. Drake <jd(at)commandprompt(dot)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(at)highrise(dot)ca                                       command like a king,
http://www.highrise.ca/                                   work like a slave.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2011-04-05 23:04:43 Re: .ini support for .pgpass
Previous Message David E. Wheeler 2011-04-05 22:50:54 Re: Extensions Dependency Checking