Re: [HACKERS] modeling parallel contention (was: Parallel Appendimplementation) - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] modeling parallel contention (was: Parallel Appendimplementation)
Date
Msg-id 20170505024843.4467jzffzbzhtani@alap3.anarazel.de
Whole thread Raw
In response to Re: [HACKERS] modeling parallel contention (was: Parallel Appendimplementation)  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 2017-05-04 19:45:33 -0700, Andres Freund wrote:
> Increment phs_cblock without checking rs_nblocks, but outside of the
> lock do a % scan->rs_nblocks, to get the "actual" position.  Finish if
> (phs_cblock - phs_startblock) / scan->rs_nblocks >= 1.

Err, as I've been pointed to: It should be s/lock/atomic operation/



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] modeling parallel contention (was: Parallel Appendimplementation)
Next
From: Thomas Munro
Date:
Subject: Re: [HACKERS] modeling parallel contention (was: Parallel Append implementation)