Skip site navigation (1) Skip section navigation (2)

Re: Should psql support URI syntax?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Joshua Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: Should psql support URI syntax?
Date: 2011-04-01 00:49:22
Message-ID: 1301618962.24264.87.camel@jd-desktop (view raw or flat)
Thread:
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


In response to

pgsql-hackers by date

Next:From: Greg StarkDate: 2011-04-01 01:54:12
Subject: Re: Bug in autovacuum.c?
Previous:From: Christopher BrowneDate: 2011-04-01 00:39:25
Subject: Re: Should psql support URI syntax?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group