From 28e04155f17cabda7a18aee31d130aa10e25ee86 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 23 Jan 2018 11:20:18 -0500 Subject: [PATCH] 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 =======================