Re: WIP: URI connection string support for libpq

Поиск
Список
Период
Сортировка
От Alexander Shulgin
Тема Re: WIP: URI connection string support for libpq
Дата
Msg-id 1323816239-sup-2005@moon
обсуждение исходный текст
Ответ на Re: WIP: URI connection string support for libpq  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: WIP: URI connection string support for libpq  (Greg Smith <greg@2ndQuadrant.com>)
Список pgsql-hackers
Excerpts from Robert Haas's message of Tue Dec 13 23:31:32 +0200 2011:
>
> On Mon, Dec 12, 2011 at 6:55 PM, Peter van Hardenberg <pvh@pvh.ca> wrote:
> > I'd like to make the controversial proposal that the URL prefix should
> > be "postgres:" instead of "postgresql:". Postgres is a widely accepted
> > nickname for the project, and is eminently more pronounceable. Once
> > the url is established it will be essentially impossible to change
> > later, but right now only a nearly insurmountable mailing list thread
> > prevents it.
>
> That, and the fact the JDBC is already doing it the other way.  A
> reasonable compromise might be to accept either one.  AIUI, part of
> what Alexander was aiming for here was to "unite the clans", so to
> speak, and it would seem a bit unfriendly (and certainly
> counter-productive as regards that goal) to pull the rug out from him
> by refusing to support that syntax over what is basically a
> supermassive bikeshed.  However, being generous in what we accept
> won't cost anything, so why not?

(oops, misfired... now sending to the list)

I was going to put a remark about "adding to the soup" here, but realized that if this is actually committed, "the
soup"is gonna be like this: libpq-supported syntax vs. everything else (think JDBC, or is there any other driver in the
wildnot using libpq?)  This is in the ideal world, where every binding is updated to embrace the new syntax and users
haveupdated all of their systems, etc. 

Before that, why don't also accept "psql://", "pgsql://", "postgre://" and anything else?  Or wait, aren't we adding to
thesoup again (or rather putting the soup right into libpq?) 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: LibreOffice driver 2: MIT Kerberos vs Microsoft Kerberos
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Configuration include directory