From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | aktivists(at)inbox(dot)lv |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: specifying unix domain socket name |
Date: | 2006-02-03 03:01:28 |
Message-ID: | 200602030301.k1331Tr21943@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)inbox(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Madison Kelly | 2006-02-03 03:17:45 | Logging queries |
Previous Message | Chris | 2006-02-03 02:52:07 | Re: pgsql on win xp user permissions |