8000 Fix an assortment of spelling mistakes and typos · postgrespro/postgres@11012c5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 11012c5

Browse files
committed
Fix an assortment of spelling mistakes and typos
Author: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/5812a0b9-b0cf-4151-9a14-d9f00e4f2858@gmail.com
1 parent 50e6eb7 commit 11012c5

File tree

21 files changed

+27
-27
lines changed

21 files changed

+27
-27
lines changed

src/backend/access/heap/heapam.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6387,7 +6387,7 @@ heap_inplace_update_and_unlock(Relation relation,
63876387
*
63886388
* ["D" is a VACUUM (ONLY_DATABASE_STATS)]
63896389
* ["R" is a VACUUM tbl]
6390-
* D: vac_update_datfrozenid() -> systable_beginscan(pg_class)
6390+
* D: vac_update_datfrozenxid() -> systable_beginscan(pg_class)
63916391
* D: systable_getnext() returns pg_class tuple of tbl
63926392
* R: memcpy() into pg_class tuple of tbl
63936393
* D: raise pg_database.datfrozenxid, XLogInsert(), finish

src/backend/access/heap/pruneheap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2133,7 +2133,7 @@ log_heap_prune_and_freeze(Relation relation, Buffer buffer,
21332133
sizeof(OffsetNumber) * nfrozen);
21342134

21352135
/*
2136-
* Prepare the main xl_heap_prune record. We already set the XLPH_HAS_*
2136+
* Prepare the main xl_heap_prune record. We already set the XLHP_HAS_*
21372137
* flag above.
21382138
*/
21392139
if (RelationIsAccessibleInLogicalDecoding(relation))

src/backend/access/nbtree/nbtutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2584,7 +2584,7 @@ _bt_preprocess_keys(IndexScanDesc scan)
25842584
{
25852585
inkeys = arrayKeyData;
25862586

2587-
/* Also maintain keyDataMap for remapping so->orderProc[] later */
2587+
/* Also maintain keyDataMap for remapping so->orderProcs[] later */
25882588
keyDataMap = MemoryContextAlloc(so->arrayContext,
25892589
numberOfKeys * sizeof(int));
25902590
}

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ typedef struct XLogCtlData
554554
} XLogCtlData;
555555

556556
/*
557-
* Classification of XLogRecordInsert operations.
557+
* Classification of XLogInsertRecord operations.
558558
*/
559559
typedef enum
560560
{

src/backend/catalog/pg_constraint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ DeconstructFkConstraintRow(HeapTuple tuple, int *numfks,
16001600
}
16011601

16021602
/*
1603-
* FindFkPeriodOpers -
1603+
* FindFKPeriodOpers -
16041604
*
16051605
* Looks up the operator oids used for the PERIOD part of a temporal foreign key.
16061606
* The opclass should be the opclass of that PERIOD element.

src/backend/catalog/pg_depend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static bool isObjectPinned(const ObjectAddress *object);
3535

3636

3737
/*
38-
* Record a dependency between 2 objects via their respective objectAddress.
38+
* Record a dependency between 2 objects via their respective ObjectAddress.
3939
* The first argument is the dependent object, the second the one it
4040
* references.
4141
*

src/backend/catalog/storage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ RelationTruncate(Relation rel, BlockNumber nblocks)
380380
* replay or visibility invariants downstream. The critical section also
381381
* suppresses interrupts.
382382
*
383-
* (See also pg_visibilitymap.c if changing this code.)
383+
* (See also visibilitymap.c if changing this code.)
384384
*/
385385
START_CRIT_SECTION();
386386

src/backend/commands/explain.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,8 +1384,8 @@ ExplainPreScanNode(PlanState *planstate, Bitmapset **rels_used)
13841384
/*
13851385
* plan_is_disabled
13861386
* Checks if the given plan node type was disabled during query planning.
1387-
* This is evident by the disable_node field being higher than the sum of
1388-
* the disabled_node field from the plan's children.
1387+
* This is evident by the disabled_nodes field being higher than the sum of
1388+
* the disabled_nodes field from the plan's children.
13891389
*/
13901390
static bool
13911391
plan_is_disabled(Plan *plan)
@@ -1462,8 +1462,8 @@ plan_is_disabled(Plan *plan)
14621462
}
14631463

14641464
/*
1465-
* It's disabled if the plan's disable_nodes is higher than the sum of its
1466-
* child's plan disabled_nodes.
1465+
* It's disabled if the plan's disabled_nodes is higher than the sum of
1466+
* its child's plan disabled_nodes.
14671467
*/
14681468
if (plan->disabled_nodes > child_disabled_nodes)
14691469
return true;

src/backend/optimizer/path/indxpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2620,7 +2620,7 @@ match_clause_to_index(PlannerInfo *root,
26202620
*
26212621
* It is also possible to match a list of OR clauses if it might be
26222622
* transformed into a single ScalarArrayOpExpr clause. On success,
2623-
* the returning index clause will contain a trasformed clause.
2623+
* the returning index clause will contain a transformed clause.
26242624
*
26252625
* For boolean indexes, it is also possible to match the clause directly
26262626
* to the indexkey; or perhaps the clause is (NOT indexkey).

src/backend/postmaster/postmaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2827,7 +2827,7 @@ PostmasterStateMachine(void)
28272827

28282828
/*
28292829
* In the PM_WAIT_BACKENDS state, wait for all the regular backends and
2830-
* procesess like autovacuum and background workers that are comparable to
2830+
* processes like autovacuum and background workers that are comparable to
28312831
* backends to exit.
28322832
*
28332833
* PM_STOP_BACKENDS is a transient state that means the same as

0 commit comments

Comments
 (0)
0