Re: Should psql support URI syntax? - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Should psql support URI syntax?
Date
Msg-id 1301614483.24264.83.camel@jd-desktop
Whole thread Raw
In response to Re: Should psql support URI syntax?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Should psql support URI syntax?
List pgsql-hackers
On Thu, 2011-03-31 at 19:32 -0400, Andrew Dunstan wrote:
> 
> On 03/31/2011 07:25 PM, Joshua D. Drake wrote:
> > Hello,
> >
> > Most database connectors/frameworks nowadays support a URI style
> > connection string. Something like:
> >
> > pgsql://user:pass@host/database
> >
> > Do we think psql should support this style of connection string?
> >
> >
> 
> Syntactic sugar aside, what is the advantage of that over a conninfo string?

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

Perhaps programability would also be useful from a shell/system script
perspective.

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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Should psql support URI syntax?
Next
From: Greg Smith
Date:
Subject: Re: 2nd Level Buffer Cache