On Wed, 2011-04-06 at 09:10 +0200, Martijn van Oosterhout wrote: > On Tue, Apr 05, 2011 at 11:55:04PM -0700, Joshua D. Drake wrote: > > I want to achieve two things: > > > > 1. More understandable .pgpass format. Yes, I understand our standard > > format, most people won't. Like JoshB said, hard to debug. > > This I understand. > > > 2. psql foo, gets me into foo. A macro for connections if you will. > > But this is precisely what the service file achieves, right? ISTM what > you d like is to be able to specify the password in the service file, > in which case pgpass is not consulted.
Right, as I said (I thought) earlier, after reviewing pg_service it seems that pgpass is (or pg_service is) redundant. It should be one file. JD > > Have a nice day, -- 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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers