postgres.git / summary / log / commit / refs

commit    28e04155f17cabda7a18aee31d130aa10e25ee86
Author:   Robert Haas <rhaas@postgresql.org>
Date:     Tue Jan 23 16:20:18 2018 +0000

    Update obsolete sentence in README.parallel.
    
    Since 9.6, heavyweight locking is not an abstract and unhandled
    concern of the parallel machinery, but rather something to which
    we have a specific approach.


src/backend/access/transam/README.parallel | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/access/transam/README.parallel b/src/backend/access/transam/README.parallel index 32994719e3b..f09a5806345 100644 --- a/src/backend/access/transam/README.parallel +++ b/src/backend/access/transam/README.parallel @@ -125,9 +125,9 @@ worker. This includes: - State related to pending REINDEX operations, which prevents access to an index that is currently being rebuilt. -To prevent undetected or unprincipled deadlocks when running in parallel mode, -this could should eventually handle heavyweight locks in some way. This is -not implemented yet. +To prevent unprincipled deadlocks when running in parallel mode, this code +also arranges for the leader and all workers to participate in group +locking. See src/backend/storage/lmgr/README for more details. Transaction Integration ======================= [parent: 2badb5afb89c]