mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
Fix numerous typos in incremental backup commits.
Apparently, spell check would have been a really good idea. Alexander Lakhin, with a few additions as per an off-list report from Andres Freund. Discussion: http://postgr.es/m/f08f7c60-1ad3-0b57-d580-54b11f07cddf@gmail.com
This commit is contained in:
@@ -158,7 +158,7 @@ CreateIncrementalBackupInfo(MemoryContext mcxt)
|
||||
|
||||
/*
|
||||
* Before taking an incremental backup, the caller must supply the backup
|
||||
* manifest from a prior backup. Each chunk of manifest data recieved
|
||||
* manifest from a prior backup. Each chunk of manifest data received
|
||||
* from the client should be passed to this function.
|
||||
*/
|
||||
void
|
||||
@@ -462,7 +462,7 @@ PrepareForIncrementalBackup(IncrementalBackupInfo *ib,
|
||||
++deadcycles;
|
||||
|
||||
/*
|
||||
* If we've managed to wait for an entire minute withot the WAL
|
||||
* If we've managed to wait for an entire minute without the WAL
|
||||
* summarizer absorbing a single WAL record, error out; probably
|
||||
* something is wrong.
|
||||
*
|
||||
@@ -473,7 +473,7 @@ PrepareForIncrementalBackup(IncrementalBackupInfo *ib,
|
||||
* likely to catch a reasonable number of the things that can go wrong
|
||||
* in practice (e.g. the summarizer process is completely hung, say
|
||||
* because somebody hooked up a debugger to it or something) without
|
||||
* giving up too quickly when the sytem is just slow.
|
||||
* giving up too quickly when the system is just slow.
|
||||
*/
|
||||
if (deadcycles >= 6)
|
||||
ereport(ERROR,
|
||||
|
@@ -92,7 +92,7 @@ pg_wal_summary_contents(PG_FUNCTION_ARGS)
|
||||
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
errmsg("invalid timeline %lld", (long long) raw_tli));
|
||||
|
||||
/* Prepare to read the specified WAL summry file. */
|
||||
/* Prepare to read the specified WAL summary file. */
|
||||
ws.tli = (TimeLineID) raw_tli;
|
||||
ws.start_lsn = PG_GETARG_LSN(1);
|
||||
ws.end_lsn = PG_GETARG_LSN(2);
|
||||
@@ -143,7 +143,7 @@ pg_wal_summary_contents(PG_FUNCTION_ARGS)
|
||||
}
|
||||
|
||||
/*
|
||||
* If the limit block is not InvalidBlockNumber, emit an exta row
|
||||
* If the limit block is not InvalidBlockNumber, emit an extra row
|
||||
* with that block number and limit_block = true.
|
||||
*
|
||||
* There is no point in doing this when the limit_block is
|
||||
|
Reference in New Issue
Block a user