@@ -626,7 +626,7 @@ typedef struct XLogCtlData
626626
627627 /*
628628 * These values do not change after startup, although the pointed-to pages
629- * and xlblocks values certainly do. xlblock values are protected by
629+ * and xlblocks values certainly do. xlblocks values are protected by
630630 * WALBufMappingLock.
631631 */
632632 char * pages ; /* buffers for unwritten XLOG pages */
@@ -743,7 +743,7 @@ static ControlFileData *ControlFile = NULL;
743743 */
744744#define UsableBytesInPage (XLOG_BLCKSZ - SizeOfXLogShortPHD)
745745
746- /* Convert min_wal_size_mb and max wal_size_mb to equivalent segment count */
746+ /* Convert min_wal_size_mb and max_wal_size_mb to equivalent segment count */
747747#define ConvertToXSegs (x , segsize ) \
748748 (x / ((segsize) / (1024 * 1024)))
749749
@@ -903,7 +903,7 @@ static XLogRecord *ReadRecord(XLogReaderState *xlogreader, XLogRecPtr RecPtr,
903903 int emode , bool fetching_ckpt );
904904static void CheckRecoveryConsistency (void );
905905static XLogRecord * ReadCheckpointRecord (XLogReaderState * xlogreader ,
906- XLogRecPtr RecPtr , int whichChkpti , bool report );
906+ XLogRecPtr RecPtr , int whichChkpt , bool report );
907907static bool rescanLatestTimeLine (void );
908908static void WriteControlFile (void );
909909static void ReadControlFile (void );
@@ -3049,9 +3049,9 @@ XLogBackgroundFlush(void)
30493049 else if (TimestampDifferenceExceeds (lastflush , now , WalWriterDelay ))
30503050 {
30513051 /*
3052- * Flush the writes at least every WalWriteDelay ms. This is important
3053- * to bound the amount of time it takes for an asynchronous commit to
3054- * hit disk.
3052+ * Flush the writes at least every WalWriterDelay ms. This is
3053+ * important to bound the amount of time it takes for an asynchronous
3054+ * commit to hit disk.
30553055 */
30563056 WriteRqst .Flush = WriteRqst .Write ;
30573057 lastflush = now ;
@@ -8442,7 +8442,7 @@ LogCheckpointEnd(bool restartpoint)
84428442 * Update the estimate of distance between checkpoints.
84438443 *
84448444 * The estimate is used to calculate the number of WAL segments to keep
8445- * preallocated, see XLOGFileSlop ().
8445+ * preallocated, see XLOGfileslop ().
84468446 */
84478447static void
84488448UpdateCheckPointDistanceEstimate (uint64 nbytes )
0 commit comments