Re: Clients disconnect but query still runs - Mailing list pgsql-general

From Sam Mason
Subject Re: Clients disconnect but query still runs
Date
Msg-id 20090729141538.GE5407@samason.me.uk
Whole thread Raw
In response to Re: Clients disconnect but query still runs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Mon, Jul 27, 2009 at 09:49:04PM -0400, Tom Lane wrote:
> It does not spend cycles looking aside to see if the
> connection has dropped when it is doing something that doesn't involve
> output to the client.

Is this ever an interesting case?  It would seem possible for something
to test the client connections every once in a while to see if they're
still valid.

The postmaster seems like a reasonable place to do this to me, it has
all the descriptors it just discards them at the moment.

--
  Sam  http://samason.me.uk/

pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: Clients disconnect but query still runs
Next
From: Tom Lane
Date:
Subject: Re: Clients disconnect but query still runs