Skip site navigation (1) Skip section navigation (2)

Re: client socket TIME_WAIT state after PQfinish

From: Nicolas Barbier <nicolas(dot)barbier(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Guillaume Du Pasquier <guillaume(dot)dupasquier(at)sensometrix(dot)ch>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: client socket TIME_WAIT state after PQfinish
Date: 2010-09-27 17:48:59
Message-ID: AANLkTimAS-i_qSZLbw=0_LARwEyOJeROcEWOHaytMki0@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
2010/9/27 Robert Haas <robertmhaas(at)gmail(dot)com>:

> On Mon, Sep 27, 2010 at 12:56 PM, Guillaume Du Pasquier
> <guillaume(dot)dupasquier(at)sensometrix(dot)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

In response to

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-09-27 17:53:45
Subject: Re: trailing whitespace in psql table output
Previous:From: Alvaro HerreraDate: 2010-09-27 17:34:00
Subject: Re: trailing whitespace in psql table output

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group