Re: Should psql support URI syntax?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Should psql support URI syntax?
Date: 2011-03-31 23:34:43
Message-ID: 1301614483.24264.83.camel@jd-desktop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2011-03-31 23:41:25 Re: 2nd Level Buffer Cache
Previous Message Andrew Dunstan 2011-03-31 23:32:32 Re: Should psql support URI syntax?