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 psql prompt.

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 directory the following syntax may serve 
the need:

   postgresql://local:/dbname

--
Alex

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to