Re: client socket TIME_WAIT state after PQfinish - Mailing list pgsql-hackers

From Nicolas Barbier
Subject Re: client socket TIME_WAIT state after PQfinish
Date
Msg-id AANLkTimAS-i_qSZLbw=0_LARwEyOJeROcEWOHaytMki0@mail.gmail.com
Whole thread Raw
In response to Re: client socket TIME_WAIT state after PQfinish  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
2010/9/27 Robert Haas <robertmhaas@gmail.com>:

> On Mon, Sep 27, 2010 at 12:56 PM, Guillaume Du Pasquier
> <guillaume.dupasquier@sensometrix.ch> wrote:
>
>> Our client runs on the same machine as the postgresql server.
>> Would it be possible to use PF_UNIX sockets ?
>
> Yeah, actually that's the default, if you just run "psql" with no
> parameters.  It looks for a socket in /tmp/.s.PGSQL.5432.

It depends on the interface; e.g., the JDBC driver doesn't support
unix sockets, AFAIR.

Nicolas


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: trailing whitespace in psql table output
Next
From: Robert Haas
Date:
Subject: Re: trailing whitespace in psql table output