summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas2024-02-02 22:18:21 +0000
committerHeikki Linnakangas2024-02-02 22:18:21 +0000
commit18dd9d2ed978547ecc4c9195e2f5d3b80cc79bde (patch)
tree0af607cdcb7fd7e22ef448ab091869b925f9b766 /src
parente4e63cd9863480698ef97009f132c9854cce8407 (diff)
Fix typo in comments
Backpatch-through: v16
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/buffer/bufmgr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c
index d06014bfb84..eb1ec3b86df 100644
--- a/src/backend/storage/buffer/bufmgr.c
+++ b/src/backend/storage/buffer/bufmgr.c
@@ -1344,8 +1344,8 @@ BufferAlloc(SMgrRelation smgr, char relpersistence, ForkNumber forkNum,
UnpinBuffer(victim_buf_hdr);
/*
- * The victim buffer we acquired peviously is clean and unused, let it
- * be found again quickly
+ * The victim buffer we acquired previously is clean and unused, let
+ * it be found again quickly
*/
StrategyFreeBuffer(victim_buf_hdr);
@@ -1924,7 +1924,7 @@ ExtendBufferedRelShared(BufferManagerRelation bmr,
BufferDesc *buf_hdr = GetBufferDescriptor(buffers[i] - 1);
/*
- * The victim buffer we acquired peviously is clean and unused,
+ * The victim buffer we acquired previously is clean and unused,
* let it be found again quickly
*/
StrategyFreeBuffer(buf_hdr);
@@ -2004,7 +2004,7 @@ ExtendBufferedRelShared(BufferManagerRelation bmr,
LWLockRelease(partition_lock);
/*
- * The victim buffer we acquired peviously is clean and unused,
+ * The victim buffer we acquired previously is clean and unused,
* let it be found again quickly
*/
StrategyFreeBuffer(victim_buf_hdr);