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.