Re: Notes on implementing URI syntax for libpq

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Notes on implementing URI syntax for libpq
Дата
Msg-id CA+TgmoY5RgT4prK4sGpba-FLO5PMAPi8jvgv7CNBW6cQLA_3gg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Notes on implementing URI syntax for libpq  (Alexander Shulgin <ash@commandprompt.com>)
Ответы Re: Notes on implementing URI syntax for libpq
Re: Notes on implementing URI syntax for libpq
Список pgsql-hackers
On Thu, Nov 24, 2011 at 7:33 AM, Alexander Shulgin
<ash@commandprompt.com> wrote:
>
> Excerpts from Robert Haas's message of Thu Nov 24 13:57:17 +0200 2011:
>>
>> I think it would be really weird not to support user:pw@host:port.  You can presumably also support the JDBC style
forbackward compatibility, but I don't think we should adopt that syntax as project standard. 
>
> Well, I don't believe JDBC syntax is ideal either, but I don't recall any better option proposed in the original
discussion:http://archives.postgresql.org/pgsql-hackers/2011-03/msg01945.php 
>
> Do you suggest that we should reconsider?

I guess my feeling is that if we're going to have URLs, we ought to
try to adhere to the same conventions that are used for pretty much
every other service that supports URLs.  user:pw@host:port is widely
supported by multiple protocols, so I think we would need a very good
reason to decide to go off in a completely different direction.  It
would be nice to be compatible with whatever JDBC does (link?) but I'm
not prepared to put that ahead of general good design.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Storing hot members of PGPROC out of the band
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Making TEXT NUL-transparent