Search Postgresql Archives

specifying unix domain socket name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is it possible to specify using PQsetdbLogin() or
PQconnectdb()
the name of unix domain socket?

In documentation I read that I can specify path using host:
host
    Name of the host to connect to. If this begins with
a slash ('/'), it
specifies Unix domain communication rather than TCP/IP
communication. 
>>>The value is the name of the directory in which the
socket file is stored.<<< 
The default is to connect to a Unix-domain socket in /tmp.

And using port I can specify socket name extension:
port
    The port number to connect to at the server host, 
>>>or the socket filename extension<<< for Unix-domain
connections.

How is it possible to specify full unix domain socket
path and name, not only path and extension?

Thanks
Ervin


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux