aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer/bufmgr.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-02-03 00:18:21 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-02-03 00:19:21 +0200
commitcd307c38f043e40fd2419d5a035b1a078a32c6b4 (patch)
tree859fcf747c69a54db0e940f7faf751a7b53870b8 /src/backend/storage/buffer/bufmgr.c
parenta15378100fae00d3954337a52f15bc38fd7ab5a8 (diff)
downloadpostgresql-cd307c38f043e40fd2419d5a035b1a078a32c6b4.tar.gz
postgresql-cd307c38f043e40fd2419d5a035b1a078a32c6b4.zip
Fix typo in comments
Backpatch-through: v16
Diffstat (limited to 'src/backend/storage/buffer/bufmgr.c')
-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 4343178ff96..e066a3f888f 100644
--- a/src/backend/storage/buffer/bufmgr.c
+++ b/src/backend/storage/buffer/bufmgr.c
@@ -1321,8 +1321,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);
@@ -1908,7 +1908,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);
@@ -1984,7 +1984,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);