[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [HACKERS] Should psql support URI syntax?
From: "Joshua D. Drake" <jd () commandprompt ! com>
Date: 2011-03-31 23:34:43
Message-ID: 1301614483.24264.83.camel () jd-desktop
[Download RAW message or body]
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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic