From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | .ini support for .pgpass |
Date: | 2011-04-05 22:34:47 |
Message-ID: | 1302042887.29588.61.camel@jd-desktop |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
The current structure of .pgpass is:
hostname:port:database:username:password
Bare, useful, but not really friendly nor flexible. I would love to be
able to do this:
If no ini block:
hostname:port:database:username:password
else:
[ecom]
hostname=
port=
database=
username=
password=
[drupal]
hostname=
port=
database=
username=
password=
psql ecom
boom, I am in.
Thoughts?
JD
--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-04-05 22:36:19 | Re: WIP: Allow SQL-language functions to reference parameters by parameter name |
Previous Message | Andrew Dunstan | 2011-04-05 21:52:58 | Re: WIP: Allow SQL-language functions to reference parameters by parameter name |