pg.ddx.io pgsql-php@postgresql.org mailing list archive
help / color / mirror / Atom feedmake pg_connect() connect to another unix domain socket
2+ messages / 2 participants
[nested] [flat]
* make pg_connect() connect to another unix domain socket
@ 2006-11-09 13:03 Xin Chen <xche781@cse.unsw.EDU.AU>
2006-11-10 00:55 ` Re: make pg_connect() connect to another unix domain socket ljb <lbayuk@pobox.com>
0 siblings, 1 reply; 2+ messages in thread
From: Xin Chen @ 2006-11-09 13:03 UTC (permalink / raw)
To: pgsql-php
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
thanks !!
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: make pg_connect() connect to another unix domain socket
2006-11-09 13:03 make pg_connect() connect to another unix domain socket Xin Chen <xche781@cse.unsw.EDU.AU>
@ 2006-11-10 00:55 ` ljb <lbayuk@pobox.com>
0 siblings, 0 replies; 2+ messages in thread
From: ljb @ 2006-11-10 00:55 UTC (permalink / raw)
To: pgsql-php
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-11-10 00:55 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-11-09 13:03 make pg_connect() connect to another unix domain socket Xin Chen <xche781@cse.unsw.EDU.AU>
2006-11-10 00:55 ` ljb <lbayuk@pobox.com>
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