postgres.git / summary / log / commit / refs

commit    aec684ff0fb979d0245985fc0f84c07345a29e18
Author:   Etsuro Fujita <efujita@postgresql.org>
Date:     Fri Oct 06 09:30:00 2023 +0000
First released in: 17.0, 14.10, 15.5, 16.1

    Remove extra parenthesis from comment.


src/backend/storage/ipc/procarray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c index d93475b2bdd..2cdad91ed83 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -2096,7 +2096,7 @@ GetSnapshotDataReuse(Snapshot snapshot) * GetSnapshotData() cannot change while ProcArrayLock is held. Snapshot * contents only depend on transactions with xids and xactCompletionCount * is incremented whenever a transaction with an xid finishes (while - * holding ProcArrayLock) exclusively). Thus the xactCompletionCount check + * holding ProcArrayLock exclusively). Thus the xactCompletionCount check * ensures we would detect if the snapshot would have changed. * * As the snapshot contents are the same as it was before, it is safe to [parent: e0b1ee17dc3a]