Re: possible bug not in open items - Mailing list pgsql-bugs

From Tom Lane
Subject Re: possible bug not in open items
Date
Msg-id 3130.1238182980@sss.pgh.pa.us
Whole thread Raw
In response to Re: possible bug not in open items  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: possible bug not in open items  (Jeff Davis <pgsql@j-davis.com>)
Re: possible bug not in open items  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-bugs
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> I'm not too familiar with this code, but I think we could just enable
> ImmediateInterruptOK in CopyGetData().

Only if you are wanting to break things.

The reason we don't allow client read to be interrupted is the fear of
losing protocol sync on an incomplete message.  For the SIGTERM case
this would (probably) be okay, since we aren't going to pay any more
attention to the client anyway, but accepting SIGINT there is right out.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: possible bug not in open items
Next
From: Jeff Davis
Date:
Subject: Re: possible bug not in open items