make pg_connect() connect to another unix domain socket
make pg_connect() connect to another unix domain socket
От:
Xin Chen <xche781@cse.unsw.EDU.AU>
Дата:
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 !!
Re: make pg_connect() connect to another unix domain socket
От:
ljb <lbayuk@pobox.com>
Дата:
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.