diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2011-11-01 18:48:47 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2011-11-01 18:48:47 +0000 |
commit | f3ebaad45b473f3a53de2cd2a5252cd653aa46f3 (patch) | |
tree | dee4a262549251c7694c0e20aee3aa674daaadd1 /src/backend/access | |
parent | 3ba182056faac66012aad8dedf2cb50ba511d989 (diff) | |
download | postgresql-f3ebaad45b473f3a53de2cd2a5252cd653aa46f3.tar.gz postgresql-f3ebaad45b473f3a53de2cd2a5252cd653aa46f3.zip |
Comment changes to show bgwriter no longer performs checkpoints.
Diffstat (limited to 'src/backend/access')
-rw-r--r-- | src/backend/access/transam/xlog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 5fec88691a3..a6aee9eb30c 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -8001,8 +8001,8 @@ RecoveryRestartPoint(const CheckPoint *checkPoint) } /* - * Copy the checkpoint record to shared memory, so that bgwriter can use - * it the next time it wants to perform a restartpoint. + * Copy the checkpoint record to shared memory, so that checkpointer + * can work out the next time it wants to perform a restartpoint. */ SpinLockAcquire(&xlogctl->info_lck); XLogCtl->lastCheckPointRecPtr = ReadRecPtr; @@ -10151,7 +10151,7 @@ XLogPageRead(XLogRecPtr *RecPtr, int emode, bool fetching_ckpt, if (readFile >= 0 && !XLByteInSeg(*RecPtr, readId, readSeg)) { /* - * Signal bgwriter to start a restartpoint if we've replayed too much + * Request a restartpoint if we've replayed too much * xlog since the last one. */ if (StandbyMode && bgwriterLaunched) |