Re: Should psql support URI syntax?

Joshua D. Drake <jd@commandprompt.com>

From: "Joshua D. Drake" <jd@commandprompt.com>
To: Joshua Berkus <josh@agliodbs.com>
Cc: pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>
Date: 2011-04-01T00:49:22Z
Lists: pgsql-hackers
On Thu, 2011-03-31 at 19:10 -0500, Joshua Berkus wrote:
> > I would think it would be purely syntatic sugar really, which does
> > incorporate a familiar interface for those who are working in
> > different
> > worlds (.Net/Drupal/JAVA) etc...
> 
> I wouldn't mind having something more standard supported; I'm always looking up the conninfo for the options I don't use frequently.
> 
> However, is there any standard for database URIs?

There is an IETF RFC for generic URI:

http://www.ietf.org/rfc/rfc2396.txt
http://www.ietf.org/rfc/rfc3986.txt

Sincerely,

Joshua D. Drake

-- 
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