Re: specifying unix domain socket name - Mailing list pgsql-general

From Bruce Momjian
Subject Re: specifying unix domain socket name
Date
Msg-id 200602030301.k1331Tr21943@candle.pha.pa.us
Whole thread Raw
In response to specifying unix domain socket name  (aktivists@inbox.lv)
List pgsql-general
No, the name is .s.PGSQL.{port#}, and there is a lock file.  Why do you
want to specify a different name?

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

aktivists@inbox.lv 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Chris
Date:
Subject: Re: pgsql on win xp user permissions
Next
From: Madison Kelly
Date:
Subject: Logging queries