From: Robert Haas Date: Tue, 23 Jan 2018 16:20:18 +0000 (-0500) Subject: Update obsolete sentence in README.parallel. X-Git-Tag: REL_11_BETA1~894 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28e04155f17cabda7a18aee31d130aa10e25ee86;p=postgresql 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. --- diff --git a/src/backend/access/transam/README.parallel b/src/backend/access/transam/README.parallel index 32994719e3..f09a580634 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 =======================