From: ljb <lbayuk@pobox.com>
To: pgsql-php@postgresql.org
Subject: Re: make pg_connect() connect to another unix domain socket
Date: Fri, 10 Nov 2006 00:55:39 +0000 (UTC)
Message-ID: <ej0imb$1v7o$1@news.hub.org> (raw)
References: <Pine.LNX.4.64.0611092358420.15122@grieg.orchestra.cse.unsw.EDU.AU>
xche781@cse.unsw.EDU.AU wrote:
> hi all,
>
> Is it possible to change pg_connect() to connect to another unix domain
> socket file? //default is to: /tmp/.s.PGSQL.5432.
>
> which parameter to pass to pg_connect can make it connect to the other ,
> says /usr/sss/.s.PGSQL.5432
Specify host=/usr/sss in your connection info string.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: lbayuk@pobox.com
Subject: Re: make pg_connect() connect to another unix domain socket
In-Reply-To: <ej0imb$1v7o$1@news.hub.org>
References: <Pine.LNX.4.64.0611092358420.15122@grieg.orchestra.cse.unsw.EDU.AU> <ej0imb$1v7o$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox