mirror of
https://github.com/postgres/postgres.git
synced 2025-11-25 12:03:53 +03:00
Ensure we use the correct spelling of "ensure"
We seem to have accidentally used "insure" in a few places. Correct that. Author: Peter Smith Discussion: https://postgr.es/m/CAHut+Pv0biqrhA3pMhu40aDsj343mTsD75khKnHsLqR8P04f=Q@mail.gmail.com Backpatch-through: 12, oldest supported version
This commit is contained in:
@@ -213,7 +213,7 @@ BufMappingPartitionLockByIndex(uint32 index)
|
||||
* is held. Thus buffer header lock holder can do complex updates of the
|
||||
* state variable in single write, simultaneously with lock release (cleaning
|
||||
* BM_LOCKED flag). On the other hand, updating of state without holding
|
||||
* buffer header lock is restricted to CAS, which insure that BM_LOCKED flag
|
||||
* buffer header lock is restricted to CAS, which ensures that BM_LOCKED flag
|
||||
* is not set. Atomic increment/decrement, OR/AND etc. are not allowed.
|
||||
*
|
||||
* An exception is that if we have the buffer pinned, its tag can't change
|
||||
|
||||
Reference in New Issue
Block a user