Re: Notes on implementing URI syntax for libpq - Mailing list pgsql-hackers

From Alexander Shulgin
Subject Re: Notes on implementing URI syntax for libpq
Date
Msg-id 1322144233-sup-8547@moon
Whole thread Raw
In response to Re: Notes on implementing URI syntax for libpq  (Alexey Klyukin <alexk@commandprompt.com>)
Responses Re: Notes on implementing URI syntax for libpq
List 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 by date:

Previous
From: Florian Pflug
Date:
Subject: Re: Wire protocol: type-specific opt-in to binary format
Next
From: Alvaro Herrera
Date:
Subject: Re: Notes on implementing URI syntax for libpq