RE: [GENERAL] How do i use unix sockets...

From: "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com>
To: mjnf(at)uevora(dot)pt, pgsql-general(at)postgreSQL(dot)org
Subject: RE: [GENERAL] How do i use unix sockets...
Date: 1998-10-01 16:43:28
Message-ID: F10BB1FAF801D111829B0060971D839F440DB7@cpsmail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Hi
>
> I'm using php3 as a web interface to a pgsql database.
>
> So far when i do the pg_Connect i always do it this way :
>
> pg_[p]Connect("localhost","5432","","","dbname");
just do
pg_[p]Connect('', '', '', '', 'dbname');
PHP assumes that if you supply the location and port that you want
tcp/ip.

> This creates a tcp/ip connection.
>
> What do I have to change to create just a unix socket connection?
>
> Change the host to ""
> Change the port to ""
> Change both to ""
>
> Thanks!
>
> Mario Filipe
> mjnf(at)uevora(dot)pt
> -----> http://neptuno.sc.uevora.pt/~mjnf <-----

Browse pgsql-general by date

  From Date Subject
Next Message Jackson, DeJuan 1998-10-01 16:59:31 RE: [GENERAL] IN/NOT IN operators
Previous Message Numard 1998-10-01 13:49:04 explain <SQL STATEMENT>