Re: Escaping from blocked send() reprised. - Mailing list pgsql-hackers

From Noah Misch
Subject Re: Escaping from blocked send() reprised.
Date
Msg-id 20150112005533.GC2722746@tornado.leadboat.com
Whole thread Raw
In response to Re: Escaping from blocked send() reprised.  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On Mon, Jan 12, 2015 at 01:45:41AM +0100, Andres Freund wrote:
> On 2015-01-11 19:37:53 -0500, Noah Misch wrote:
> > I recommend either (a) taking no action or (b) adding a regression test
> > verifying WaitLatchOrSocket() conformance in this scenario.
> 
> Do you have a good idea how to test b) save a C function in regress.c
> that does what your test does using latches?

No, that's what I had in mind.  You could probably achieve it with a libpq
program that lets input accumulate, but that's trickier.



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Escaping from blocked send() reprised.
Next
From: Robert Haas
Date:
Subject: Re: Removing INNER JOINs