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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



xche781@xxxxxxxxxxxxxxx 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.


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux