Fix typo in comments

Backpatch-through: v16
REL_16_STABLE
Heikki Linnakangas 2 years ago
parent a15378100f
commit cd307c38f0
  1. 8
      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);

Loading…
Cancel
Save