aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer/freelist.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-07-01 10:00:23 +0900
committerMichael Paquier <michael@paquier.xyz>2019-07-01 10:00:23 +0900
commitc74d49d41c9e0fabeb1179dcabfb3137833ed831 (patch)
treed5406f4f6578181174e178c68ba320ac9395648a /src/backend/storage/buffer/freelist.c
parent459c3cdb4ad8323bfe6bcae0186a3831e0c89c94 (diff)
downloadpostgresql-c74d49d41c9e0fabeb1179dcabfb3137833ed831.tar.gz
postgresql-c74d49d41c9e0fabeb1179dcabfb3137833ed831.zip
Fix many typos and inconsistencies
Author: Alexander Lakhin Discussion: https://postgr.es/m/af27d1b3-a128-9d62-46e0-88f424397f44@gmail.com
Diffstat (limited to 'src/backend/storage/buffer/freelist.c')
-rw-r--r--src/backend/storage/buffer/freelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/buffer/freelist.c b/src/backend/storage/buffer/freelist.c
index 06659ab2653..c8d4e6f9e42 100644
--- a/src/backend/storage/buffer/freelist.c
+++ b/src/backend/storage/buffer/freelist.c
@@ -220,7 +220,7 @@ StrategyGetBuffer(BufferAccessStrategy strategy, uint32 *buf_state)
* If asked, we need to waken the bgwriter. Since we don't want to rely on
* a spinlock for this we force a read from shared memory once, and then
* set the latch based on that value. We need to go through that length
- * because otherwise bgprocno might be reset while/after we check because
+ * because otherwise bgwprocno might be reset while/after we check because
* the compiler might just reread from memory.
*
* This can possibly set the latch of the wrong process if the bgwriter