Re: Client connection lost; still in the task list - Mailing list pgsql-novice

From Tom Lane
Subject Re: Client connection lost; still in the task list
Date
Msg-id 24431.1208885368@sss.pgh.pa.us
Whole thread Raw
In response to Client connection lost; still in the task list  ("Didier Gasser-Morlay" <didiergm@gmail.com>)
Responses Re: Client connection lost; still in the task list  ("Didier Gasser-Morlay" <didiergm@gmail.com>)
List pgsql-novice
"Didier Gasser-Morlay" <didiergm@gmail.com> writes:
> So my question is what makes PostgreSQL realise that a connection is
> dead ? when will it drop it and free the connection ?

It'll drop it when the kernel tells it the connection is dead.
Standard TCP timeouts are measured in hours, though.  You might
be able to get a shorter timeout to be applied by fooling with
the "keepalive" parameters, if those can be adjusted on your platform.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Didier Gasser-Morlay"
Date:
Subject: Client connection lost; still in the task list
Next
From: "Fernando Fontana"
Date:
Subject: pgoptions syntax?