Add BarrierArriveAndDetachExceptLast().
Thomas Munro <tmunro@postgresql.org>
Add BarrierArriveAndDetachExceptLast(). Provide a way for one process to continue the remaining phases of a (previously) parallel computation alone. Later patches will use this to extend Parallel Hash Join. Author: Melanie Plageman <melanieplageman@gmail.com> Reviewed-by: Thomas Munro <thomas.munro@gmail.com> Discussion: https://postgr.es/m/CA%2BhUKG%2BA6ftXPz4oe92%2Bx8Er%2BxpGZqto70-Q_ERwRaSyA%3DafNg%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/barrier.c | modified | +22 −0 |
| src/include/storage/barrier.h | modified | +1 −0 |
Discussion
- Parallel Full Hash Join 41 messages · 2019-09-12 → 2023-04-12