Skip to content

Commit 18dd9d2

Browse files
committed
Fix typo in comments
Backpatch-through: v16
1 parent e4e63cd commit 18dd9d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/storage/buffer/bufmgr.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,8 +1344,8 @@ BufferAlloc(SMgrRelation smgr, char relpersistence, ForkNumber forkNum,
13441344
UnpinBuffer(victim_buf_hdr);
13451345

13461346
/*
1347-
* The victim buffer we acquired peviously is clean and unused, let it
1348-
* be found again quickly
1347+
* The victim buffer we acquired previously is clean and unused, let
1348+
* it be found again quickly
13491349
*/
13501350
StrategyFreeBuffer(victim_buf_hdr);
13511351

@@ -1924,7 +1924,7 @@ ExtendBufferedRelShared(BufferManagerRelation bmr,
19241924
BufferDesc *buf_hdr = GetBufferDescriptor(buffers[i] - 1);
19251925

19261926
/*
1927-
* The victim buffer we acquired peviously is clean and unused,
1927+
* The victim buffer we acquired previously is clean and unused,
19281928
* let it be found again quickly
19291929
*/
19301930
StrategyFreeBuffer(buf_hdr);
@@ -2004,7 +2004,7 @@ ExtendBufferedRelShared(BufferManagerRelation bmr,
20042004
LWLockRelease(partition_lock);
20052005

20062006
/*
2007-
* The victim buffer we acquired peviously is clean and unused,
2007+
* The victim buffer we acquired previously is clean and unused,
20082008
* let it be found again quickly
20092009
*/
20102010
StrategyFreeBuffer(victim_buf_hdr);

0 commit comments

Comments
 (0)