Re: make pg_connect() connect to another unix domain socket

From: ljb <lbayuk(at)pobox(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: make pg_connect() connect to another unix domain socket
Date: 2006-11-10 00:55:39
Message-ID: ej0imb$1v7o$1@news.hub.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-php

xche781(at)cse(dot)unsw(dot)EDU(dot)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.

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Servers24 Network 2006-11-10 01:00:15 Re: PgSQL and integration between 2 PHP programs and a Java program
Previous Message Brew 2006-11-09 23:39:23 Re: PgSQL and integration between 2 PHP programs and a Java program