aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2022-01-17 07:50:00 +0530
committerAmit Kapila <akapila@postgresql.org>2022-01-17 07:50:00 +0530
commit4c004dd520fcf262ba7a3f2b1f80a8aa6b56c8d0 (patch)
treeb2e4a83754a3c573f52c811b1eaaae07197b5c43 /src
parentdc686681e0799b12c40f44f85fc5bfd7fed4e57f (diff)
downloadpostgresql-4c004dd520fcf262ba7a3f2b1f80a8aa6b56c8d0.tar.gz
postgresql-4c004dd520fcf262ba7a3f2b1f80a8aa6b56c8d0.zip
Consistently use the function name CreateCheckPoint in code and comments.
Author: Bharath Rupireddy Discussion: https://postgr.es/m/CALj2ACVZmKsvDjtd45+9oTcnjUJtC4LF2BYK8TpWT1f=NjJX3w@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/buffer/bufmgr.c2
-rw-r--r--src/backend/storage/ipc/standby.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 4b722749898..a2512e750c2 100644
--- a/src/backend/storage/buffer/bufmgr.c
+++ b/src/backend/storage/buffer/bufmgr.c
@@ -3907,7 +3907,7 @@ MarkBufferDirtyHint(Buffer buffer, bool buffer_std)
* never gets written, so crash recovery will fix.
*
* It's possible we may enter here without an xid, so it is
- * essential that CreateCheckpoint waits for virtual transactions
+ * essential that CreateCheckPoint waits for virtual transactions
* rather than full transactionids.
*/
MyProc->delayChkpt = delayChkpt = true;
diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c
index d70f2e839dc..87ac0f74b27 100644
--- a/src/backend/storage/ipc/standby.c
+++ b/src/backend/storage/ipc/standby.c
@@ -1182,7 +1182,7 @@ standby_redo(XLogReaderState *record)
* starting to accumulate changes at a point just prior to when we derive
* the snapshot on the primary, then ignore duplicates when we later apply
* the snapshot from the running xacts record. This is implemented during
- * CreateCheckpoint() where we use the logical checkpoint location as
+ * CreateCheckPoint() where we use the logical checkpoint location as
* our starting point and then write the running xacts record immediately
* before writing the main checkpoint WAL record. Since we always start
* up from a checkpoint and are immediately at our starting point, we