diff options
Diffstat (limited to 'src/include/storage/predicate_internals.h')
-rw-r--r-- | src/include/storage/predicate_internals.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/storage/predicate_internals.h b/src/include/storage/predicate_internals.h index 591ac6f42aa..cf9694d65e3 100644 --- a/src/include/storage/predicate_internals.h +++ b/src/include/storage/predicate_internals.h @@ -92,8 +92,12 @@ typedef struct SERIALIZABLEXACT SHM_QUEUE finishedLink; /* list link in * FinishedSerializableTransactions */ - LWLock predicateLockListLock; /* protects predicateLocks in parallel - * mode */ + /* + * perXactPredicateListLock is only used in parallel queries: it protects + * this SERIALIZABLEXACT's predicate lock list against other workers of + * the same session. + */ + LWLock perXactPredicateListLock; /* * for r/o transactions: list of concurrent r/w transactions that we could |