postgres.git / summary / log / commit / refs

commit    3ed98ed88a06f368c700d2ce03ff46d6d415dde3
Author:   Etsuro Fujita <efujita@postgresql.org>
Date:     Fri Oct 06 09:30:01 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 2a3da49b8fc..eaceefa0571 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -2127,7 +2127,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: 31b2b2d72d9c]