Re: Notes on implementing URI syntax for libpq

Поиск
Список
Период
Сортировка
От Alexander Shulgin
Тема Re: Notes on implementing URI syntax for libpq
Дата
Msg-id 1322117895-sup-4545@moon
обсуждение исходный текст
Ответ на Re: Notes on implementing URI syntax for libpq  (Florian Weimer <fweimer@bfk.de>)
Ответы Re: Notes on implementing URI syntax for libpq
Re: Notes on implementing URI syntax for libpq
Список pgsql-hackers
Excerpts from Florian Weimer's message of Wed Nov 23 13:04:47 +0200 2011:
>
> * Alexander Shulgin:
>
> > This, in my opinion, is very similar to what we would like to achieve with the URI syntax, so the above could also
bespecified using a URI parameter like this: 
> >
> >   psql -d postgresql://example.net:5433/mydb
>
> How would you specifiy a local port/UNIX domain socket?

Missed that in my previous reply.

If host part of the URI points to localhost, the UNIX domain socket would be considered by libpq just as if you would
pass"-h localhost -p 5433". 


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

Предыдущее
От: Alexander Shulgin
Дата:
Сообщение: Re: Notes on implementing URI syntax for libpq
Следующее
От: Dmitriy Igrishin
Дата:
Сообщение: Re: Notes on implementing URI syntax for libpq