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

From Greg Stark
Subject Re: Clients disconnect but query still runs
Date
Msg-id 407d949e0907290904x4f04f87fmfc3402ceb4dc4940@mail.gmail.com
Whole thread Raw
In response to Re: Clients disconnect but query still runs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Clients disconnect but query still runs
List pgsql-general
On Wed, Jul 29, 2009 at 3:17 PM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
> Greg Stark <gsstark@mit.edu> writes:
>> On Wed, Jul 29, 2009 at 1:58 PM, Jasen Betts<jasen@xnet.co.nz> wrote:
>>> can't coerce a signal from the network stack? the linux socket(2)
>>> manpage is full of promise (SIGPIPE, SIGURG, SIGIO)
>
>
> And the other question is how much of what you read in the Linux manpage
> is portable to any other system...

That is a question. But actually I think sigio might be fairly
portable -- at least the first hit I found was for someone complaining
that it wasn't working on Linux (due to a bug) and this broke their
app which worked everywhere else.

In any case this would be a feature which if it didn't work would
leave us just where we are today. That's another advantage over trying
to do something with sigurg which would be far more likely to cause
headaches if it behave incorrectly.


--
greg
http://mit.edu/~gsstark/resume.pdf

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Relational Algebra and Aggregate Functions
Next
From: nha
Date:
Subject: Re: combining db's- importing primary keys