aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-11-10 00:18:33 +1300
committerDavid Rowley <drowley@postgresql.org>2023-11-10 00:18:33 +1300
commit2be56450758850282cb5cf667430d1ece64de955 (patch)
tree72f7cfbf3fd23ba7cd80bcf9bb9529f2dd6fa806 /src/include
parentb17a02be27e01d46cf9a74d173009547305d4cf8 (diff)
downloadpostgresql-2be56450758850282cb5cf667430d1ece64de955.tar.gz
postgresql-2be56450758850282cb5cf667430d1ece64de955.zip
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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/storage/buf_internals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/buf_internals.h b/src/include/storage/buf_internals.h
index 487a1a6828f..21851cc4944 100644
--- a/src/include/storage/buf_internals.h
+++ b/src/include/storage/buf_internals.h
@@ -150,7 +150,7 @@ typedef struct buftag
* 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