Re: Escaping from blocked send() reprised.

From: Noah Misch <noah(at)leadboat(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, robertmhaas(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Escaping from blocked send() reprised.
Date: 2015-01-12 00:55:33
Message-ID: 20150112005533.GC2722746@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-01-12 02:57:14 Re: Removing INNER JOINs
Previous Message Andres Freund 2015-01-12 00:45:41 Re: Escaping from blocked send() reprised.