aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-10-30 10:03:00 +0900
committerMichael Paquier <michael@paquier.xyz>2019-10-30 10:03:00 +0900
commit6ca86bb7e9c72f428c7f4e3f2b48dd6c4084429c (patch)
treee06d7478c2cc96f89e0f6f00452bea8e0177b93e /src/backend/storage
parent517bf2d9107f0d45c5fea2e3904e8d3b10ce6bb2 (diff)
downloadpostgresql-6ca86bb7e9c72f428c7f4e3f2b48dd6c4084429c.tar.gz
postgresql-6ca86bb7e9c72f428c7f4e3f2b48dd6c4084429c.zip
Fix typos in the code
Author: Vignesh C Reviewed-by: Dilip Kumar, Michael Paquier Discussion: https://postgr.es/m/CALDaNm0ni+GAOe4+fbXiOxNrVudajMYmhJFtXGX-zBPoN8ixhw@mail.gmail.com
Diffstat (limited to 'src/backend/storage')
-rw-r--r--src/backend/storage/buffer/bufmgr.c2
-rw-r--r--src/backend/storage/lmgr/proc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c
index 483f705305c..7ad10736d5b 100644
--- a/src/backend/storage/buffer/bufmgr.c
+++ b/src/backend/storage/buffer/bufmgr.c
@@ -1208,7 +1208,7 @@ BufferAlloc(SMgrRelation smgr, char relpersistence, ForkNumber forkNum,
LWLockAcquire(newPartitionLock, LW_EXCLUSIVE);
/* remember we have no old-partition lock or tag */
oldPartitionLock = NULL;
- /* this just keeps the compiler quiet about uninit variables */
+ /* keep the compiler quiet about uninitialized variables */
oldHash = 0;
}
diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c
index 498373fd0ee..b3c54a6a27d 100644
--- a/src/backend/storage/lmgr/proc.c
+++ b/src/backend/storage/lmgr/proc.c
@@ -636,7 +636,7 @@ PublishStartupProcessInformation(void)
}
/*
- * Used from bufgr to share the value of the buffer that Startup waits on,
+ * Used from bufmgr to share the value of the buffer that Startup waits on,
* or to reset the value to "not waiting" (-1). This allows processing
* of recovery conflicts for buffer pins. Set is made before backends look
* at this value, so locking not required, especially since the set is