postgres.git / summary / log / commit / refs

commit    bb912563059c789932efc423ad2092b7638249be
Author:   Etsuro Fujita <efujita@postgresql.org>
Date:     Fri Oct 06 09:30:03 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 1623a11f0dd..4655d8cff51 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -2176,7 +2176,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: 689af6db6c76]