On Wed, Jul 29, 2015 at 6:10 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> On 2015-07-29 14:22:23 +0200, Andres Freund wrote:
> > On 2015-07-29 15:14:23 +0300, Heikki Linnakangas wrote:
> > > Ah, ok, that should work, as long as you also re-check the variable's
> value
> > > after queueing. Want to write the patch, or should I?
> >
> > I'll try. Shouldn't be too hard.
>
> What do you think about something roughly like the attached?
>
I've not evaluated the code, but applying it does solve the problem I was
seeing.
Cheers,
Jeff