How do i use unix sockets...

Поиск
Список
Период
Сортировка
От Mario Filipe
Тема How do i use unix sockets...
Дата
Msg-id XFMail.981001101405.mjnf@uevora.pt
обсуждение исходный текст
Ответы Re: [GENERAL] How do i use unix sockets...  (Egon Schmid <eschmid@delos.stuttgart.netsurf.de>)
Список 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@uevora.pt
----->  http://neptuno.sc.uevora.pt/~mjnf <-----

В списке pgsql-general по дате отправления:

Предыдущее
От: Ruedi.Hofer@ascom.ch
Дата:
Сообщение: glibc, libc6 and psql
Следующее
От: Egon Schmid
Дата:
Сообщение: Re: [GENERAL] How do i use unix sockets...