Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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



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.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group