1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-03 22:24:49 +03:00

Remove extra parenthesis from comment.

This commit is contained in:
Etsuro Fujita 2023-10-06 18:30:00 +09:00
parent e0b1ee17dc
commit aec684ff0f

View File

@ -2096,7 +2096,7 @@ GetSnapshotDataReuse(Snapshot snapshot)
* GetSnapshotData() cannot change while ProcArrayLock is held. Snapshot * GetSnapshotData() cannot change while ProcArrayLock is held. Snapshot
* contents only depend on transactions with xids and xactCompletionCount * contents only depend on transactions with xids and xactCompletionCount
* is incremented whenever a transaction with an xid finishes (while * 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. * 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 * As the snapshot contents are the same as it was before, it is safe to