make pg_connect() connect to another unix domain socket

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 !!


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
Xin Chen [ Do, 09 November 2006 14:03 ] [ ID #1529611 ]

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

Post removed (X-No-Archive: yes)
Notifier Deamon [ Fr, 10 November 2006 01:55 ] [ ID #1530977 ]
Datenbanken » gmane.comp.db.postgresql.php » make pg_connect() connect to another unix domain socket

Vorheriges Thema: PgSQL and integration between 2 PHP programs and a Java program
Nächstes Thema: function with array parameter