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