8000 Fix various typos and incorrect/outdated name references · postgrespro/postgres@3f58a4e · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f58a4e

Browse files
committed
Fix various typos and incorrect/outdated name references
Author: Alexander Lakhin Discussion: https://postgr.es/m/699beab4-a6ca-92c9-f152-f559caf6dc25@gmail.com
1 parent fcb21b3 commit 3f58a4e

File tree

28 files changed

+35
-35
lines changed

28 files changed

+35
-35
lines changed

contrib/basebackup_to_shell/t/001_basic.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
qr/shell command for backup is not configured/,
5050
'fails if basebackup_to_shell.command is not set');
5151

52-
# Configure basebackup_to_shell.command and reload the configuation file.
52+
# Configure basebackup_to_shell.command and reload the configuration file.
5353
my $backup_path = PostgreSQL::Test::Utils::tempdir;
5454
my $escaped_backup_path = $backup_path;
5555
$escaped_backup_path =~ s{\\}{\\\\}g

contrib/pg_walinspect/pg_walinspect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ GetCurrentLSN(void)
8585
}
8686

8787
/*
88-
* Intialize WAL reader and identify first valid LSN.
88+
* Initialize WAL reader and identify first valid LSN.
8989
*/
9090
static XLogReaderState *
9191
InitXLogReaderState(XLogRecPtr lsn)

src/backend/access/transam/parallel.c

Lines changed: 1 addition & 1 deletion
F438
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ InitializeParallelDSM(ParallelContext *pcxt)
376376

377377
/*
378378
* Serialize the transaction snapshot if the transaction
379-
* isolation-level uses a transaction snapshot.
379+
* isolation level uses a transaction snapshot.
380380
*/
381381
if (IsolationUsesXactSnapshot())
382382
{

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5835,7 +5835,7 @@ ReachedEndOfBackup(XLogRecPtr EndRecPtr, TimeLineID tli)
58355835
{
58365836
/*
58375837
* We have reached the end of base backup, as indicated by pg_control. The
5838-
* data on disk is now consistent (unless minRecovery point is further
5838+
* data on disk is now consistent (unless minRecoveryPoint is further
58395839
* ahead, which can happen if we crashed during previous recovery). Reset
58405840
* backupStartPoint and backupEndPoint, and update minRecoveryPoint to
58415841
* make sure we don't allow starting up at an earlier point even if

src/backend/access/transam/xlogprefetcher.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,9 @@ XLogPrefetcherComputeStats(XLogPrefetcher *prefetcher)
457457
* *lsn, and the I/O will be considered to have completed once that LSN is
458458
* replayed.
459459
*
460-
* Returns LRQ_NO_IO if we examined the next block reference and found that it
461-
* was already in the buffer pool, or we decided for various reasons not to
462-
* prefetch.
460+
* Returns LRQ_NEXT_NO_IO if we examined the next block reference and found
461+
* that it was already in the buffer pool, or we decided for various reasons
462+
* not to prefetch.
463463
*/
464464
static LsnReadQueueNextStatus
465465
XLogPrefetcherNextBlock(uintptr_t pgsr_private, XLogRecPtr *lsn)

src/backend/access/transam/xlogrecovery.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* or standby mode, depending on configuration options and the state of
99
* the control file and possible backup label file. PerformWalRecovery()
1010
* performs the actual WAL replay, calling the rmgr-specific redo routines.
11-
* EndWalRecovery() performs end-of-recovery checks and cleanup actions,
11+
* FinishWalRecovery() performs end-of-recovery checks and cleanup actions,
1212
* and prepares information needed to initialize the WAL for writes. In
1313
* addition to these three main functions, there are a bunch of functions
1414
* for interrogating recovery state and controlling the recovery process.
@@ -505,7 +505,7 @@ EnableStandbyMode(void)
505505
* disk does after initializing other subsystems, but before calling
506506
* PerformWalRecovery().
507507
*
508-
* This initializes some global variables like ArchiveModeRequested, and
508+
* This initializes some global variables like ArchiveRecoveryRequested, and
509509
* StandbyModeRequested and InRecovery.
510510
*/
511511
void
@@ -1396,11 +1396,11 @@ read_tablespace_map(List **tablespaces)
13961396
*
13971397
* This does not close the 'xlogreader' yet, because in some cases the caller
13981398
* still wants to re-read the last checkpoint record by calling
1399-
* ReadCheckPointRecord().
1399+
* ReadCheckpointRecord().
14001400
*
14011401
* Returns the position of the last valid or applied record, after which new
14021402
* WAL should be appended, information about why recovery was ended, and some
1403-
* other things. See the WalRecoveryResult struct for details.
1403+
* other things. See the EndOfWalRecoveryInfo struct for details.
14041404
*/
14051405
EndOfWalRecoveryInfo *
14061406
FinishWalRecovery(void)

src/backend/backup/basebackup_copy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* basebackup_copy.c
44
* send basebackup archives using COPY OUT
55
*
6-
* We send a result set with information about the tabelspaces to be included
6+
* We send a result set with information about the tablespaces to be included
77
* in the backup before starting COPY OUT. Then, we start a single COPY OUT
88
* operation and transmits all the archives and the manifest if present during
99
* the course of that single COPY OUT. Each CopyData message begins with a

src/backend/catalog/pg_publication.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ compare_int16(const void *a, const void *b)
497497
* and a Bitmapset with them; verify that each attribute is appropriate
498498
* to have in a publication column list (no system or generated attributes,
499499
* no duplicates). Additional checks with replica identity are done later;
500-
* see check_publication_columns.
500+
* see pub_collist_contains_invalid_column.
501501
*
502502
* Note that the attribute numbers are *not* offset by
503503
* FirstLowInvalidHeapAttributeNumber; system columns are forbidden so this

src/backend/commands/vacuumparallel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* In a parallel vacuum, we perform both index bulk deletion and index cleanup
1010
* with parallel worker processes. Individual indexes are processed by one
11-
* vacuum process. ParalleVacuumState contains shared information as well as
11+
* vacuum process. ParallelVacuumState contains shared information as well as
1212
* the memory space for storing dead items allocated in the DSM segment. We
1313
* launch parallel worker processes at the start of parallel index
1414
* bulk-deletion and index cleanup and once all indexes are processed, the

src/backend/executor/nodeAgg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4081,7 +4081,7 @@ build_pertrans_for_aggref(AggStatePerTrans pertrans,
40814081
numTransArgs = pertrans->numTransInputs + 1;
40824082

40834083
/*
4084-
* Set up infrastructure for calling the transfn. Note that invtrans is
4084+
* Set up infrastructure for calling the transfn. Note that invtransfn is
40854085
* not needed here.
40864086
*/
40874087
build_aggregate_transfn_expr(inputTypes,

0 commit comments

Comments
 (0)
0