Fix typo in comments
authorHeikki Linnakangas <[email protected]>
Fri, 2 Feb 2024 22:18:21 +0000 (00:18 +0200)
committerHeikki Linnakangas <[email protected]>
Fri, 2 Feb 2024 22:19:21 +0000 (00:19 +0200)
Backpatch-through: v16

src/backend/storage/buffer/bufmgr.c

index 4343178ff96cf498766a3259bd9691a131bc54ef..e066a3f888fb794074db6f419db9566a1e246a96 100644 (file)
@@ -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);