@@ -626,7 +626,7 @@ typedef struct XLogCtlData
626
626
627
627
/*
628
628
* 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
630
630
* WALBufMappingLock.
631
631
*/
632
632
char * pages ;/* buffers for unwritten XLOG pages */
@@ -743,7 +743,7 @@ static ControlFileData *ControlFile = NULL;
743
743
*/
744
744
#define UsableBytesInPage (XLOG_BLCKSZ - SizeOfXLogShortPHD)
745
745
746
- /* Convert min_wal_size_mb andmax wal_size_mb to equivalent segment count */
746
+ /* Convert min_wal_size_mb andmax_wal_size_mb to equivalent segment count */
747
747
#define ConvertToXSegs (x ,segsize )\
748
748
(x / ((segsize) / (1024 * 1024)))
749
749
@@ -903,7 +903,7 @@ static XLogRecord *ReadRecord(XLogReaderState *xlogreader, XLogRecPtr RecPtr,
903
903
int emode ,bool fetching_ckpt );
904
904
static void CheckRecoveryConsistency (void );
905
905
static XLogRecord * ReadCheckpointRecord (XLogReaderState * xlogreader ,
906
- XLogRecPtr RecPtr ,int whichChkpti ,bool report );
906
+ XLogRecPtr RecPtr ,int whichChkpt ,bool report );
907
907
static bool rescanLatestTimeLine (void );
908
908
static void WriteControlFile (void );
909
909
static void ReadControlFile (void );
@@ -3049,9 +3049,9 @@ XLogBackgroundFlush(void)
3049
3049
else if (TimestampDifferenceExceeds (lastflush ,now ,WalWriterDelay ))
3050
3050
{
3051
3051
/*
3052
- * Flush the writes at least everyWalWriteDelay 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 everyWalWriterDelay ms. This is
3053
+ *important to bound the amount of time it takes for an asynchronous
3054
+ *commit to hit disk.
3055
3055
*/
3056
3056
WriteRqst .Flush = WriteRqst .Write ;
3057
3057
lastflush = now ;
@@ -8442,7 +8442,7 @@ LogCheckpointEnd(bool restartpoint)
8442
8442
* Update the estimate of distance between checkpoints.
8443
8443
*
8444
8444
* The estimate is used to calculate the number of WAL segments to keep
8445
- * preallocated, seeXLOGFileSlop ().
8445
+ * preallocated, seeXLOGfileslop ().
8446
8446
*/
8447
8447
static void
8448
8448
UpdateCheckPointDistanceEstimate (uint64 nbytes )