Re: Notes on implementing URI syntax for libpq

Поиск
Список
Период
Сортировка
От Alexander Shulgin
Тема Re: Notes on implementing URI syntax for libpq
Дата
Msg-id 1322144233-sup-8547@moon
обсуждение исходный текст
Ответ на Re: Notes on implementing URI syntax for libpq  (Alexey Klyukin <alexk@commandprompt.com>)
Ответы Re: Notes on implementing URI syntax for libpq
Список pgsql-hackers
Excerpts from Alexey Klyukin's message of Thu Nov 24 10:22:21 +0200 2011:
>
> Another idea is to use local:/dir/name for UNIX domain socket instead of hostname:port, like it's displayed in the
psqlprompt. 

So the whole thing would look like this:
 postgresql://local:/dir/name/dbname?param1=val1&...

Where "/dir/name" is the absolute path to the directory containing the socket file.  If one wants to use the default
directorythe following syntax may serve the need: 
  postgresql://local:/dbname

--
Alex


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

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: Wire protocol: type-specific opt-in to binary format
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Notes on implementing URI syntax for libpq