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.