Re: Should psql support URI syntax?
От | Joshua D. Drake |
---|---|
Тема | Re: Should psql support URI syntax? |
Дата | |
Msg-id | 1301614483.24264.83.camel@jd-desktop обсуждение исходный текст |
Ответ на | Re: Should psql support URI syntax? (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: Should psql support URI syntax?
|
Список | 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 по дате отправления: