Search Postgresql Archives

Re: specifying unix domain socket name

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

 



No, the name is .s.PGSQL.{port#}, and there is a lock file.  Why do you
want to specify a different name?

---------------------------------------------------------------------------

aktivists@xxxxxxxx wrote:
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@xxxxxxxxxxxxxxxx               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073


[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