How do i use unix sockets...

From: Mario Filipe <mjnf(at)uevora(dot)pt>
To: pgsql-general(at)postgresql(dot)org
Subject: How do i use unix sockets...
Date: 1998-10-01 09:14:05
Message-ID: XFMail.981001101405.mjnf@uevora.pt
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");

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Egon Schmid 1998-10-01 09:46:54 Re: [GENERAL] How do i use unix sockets...
Previous Message Ruedi.Hofer 1998-09-30 13:25:12 glibc, libc6 and psql