Fix typo in comments
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 2 Feb 2024 22:18:21 +0000 (00:18 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 2 Feb 2024 22:18:21 +0000 (00:18 +0200)
Backpatch-through: v16

src/backend/storage/buffer/bufmgr.c

index d06014bfb848b2db325b199f5d41602e55d3e712..eb1ec3b86df884ea7676e12e9857d1af4f71632c 100644 (file)
@@ -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);