From: | Egon Schmid <eschmid(at)delos(dot)stuttgart(dot)netsurf(dot)de> |
---|---|
To: | Mario Filipe <mjnf(at)uevora(dot)pt> |
Cc: | pgsql-general(at)postgreSQL(dot)org |
Subject: | Re: [GENERAL] How do i use unix sockets... |
Date: | 1998-10-01 09:46:54 |
Message-ID: | Pine.NEB.3.95.981001112649.18786A-100000@delos.stuttgart.netsurf.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Mario,
start postmaster with -i and set host and port to "". More info can be
found in the PHP3 manual.
-Egon
On Thu, 1 Oct 1998, Mario Filipe wrote:
> 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");
>
> 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 <-----
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | netcasino3 | 1998-10-01 11:30:56 | Internet Casino Lottery - Enter at No Cost |
Previous Message | Mario Filipe | 1998-10-01 09:14:05 | How do i use unix sockets... |