Re: Notes on implementing URI syntax for libpq

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Notes on implementing URI syntax for libpq
Дата
Msg-id 4ED3418A.2010601@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: Notes on implementing URI syntax for libpq  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Notes on implementing URI syntax for libpq
Список pgsql-hackers
On 11/24/2011 05:21 AM, Alvaro Herrera wrote:
> A coworker also suggested using a different designator:
>
> postgresqli:///path/to/socket:5433/database
> postgresqli://:5433/database

This is not unprecedented.  An example is how CUPS handles this problem 
when connecting printers using URIs:  
http://www.cups.org/documentation.php/network.html where you might see 
this for the usual port:

lpd://ip-address-or-hostname/queue

And this for AppSocket AKA JetDirect:

socket://ip-address-or-hostname

I am certainly not going to defend printing setup with CUPS as a model 
worth emulating, just noting the similarity here.  I think we'll save 
miles of user headaches if there's only one designator.



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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Patch: add timing of buffer I/O requests
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Displaying accumulated autovacuum cost