pgsql: Add BarrierArriveAndDetachExceptLast().

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add BarrierArriveAndDetachExceptLast().
Date: 2020-11-19 05:14:56
Message-ID: E1kfcHY-0000uJ-MZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Reviewed-by: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Discussion: https://postgr.es/m/CA%2BhUKG%2BA6ftXPz4oe92%2Bx8Er%2BxpGZqto70-Q_ERwRaSyA%3DafNg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7888b0999488511e4266f2134053fa3a6505a155

Modified Files
--------------
src/backend/storage/ipc/barrier.c | 22 ++++++++++++++++++++++
src/include/storage/barrier.h | 1 +
2 files changed, 23 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2020-11-19 08:41:37 pgsql: Hash support for row types
Previous Message Michael Paquier 2020-11-19 01:36:28 pgsql: Improve failure detection with array parsing in pg_dump