mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
Fix typos and grammar in the code
The large majority of these have been introduced by recent commits done in the v18 development cycle. Author: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/9a7763ab-5252-429d-a943-b28941e0e28b@gmail.com
This commit is contained in:
@@ -1861,7 +1861,7 @@ ExecRelCheck(ResultRelInfo *resultRelInfo,
|
||||
MemoryContext oldContext;
|
||||
|
||||
/*
|
||||
* CheckConstraintFetch let this pass with only a warning, but now we
|
||||
* CheckNNConstraintFetch let this pass with only a warning, but now we
|
||||
* should fail rather than possibly failing to enforce an important
|
||||
* constraint.
|
||||
*/
|
||||
|
@@ -1778,7 +1778,7 @@ adjust_partition_colnos_using_map(List *colnos, AttrMap *attrMap)
|
||||
* Updates the PartitionPruneState found at given part_prune_index in
|
||||
* EState.es_part_prune_states for use during "exec" pruning if required.
|
||||
* Also returns the set of subplans to initialize that would be stored at
|
||||
* part_prune_index in EState.es_part_prune_result by
|
||||
* part_prune_index in EState.es_part_prune_results by
|
||||
* ExecDoInitialPruning(). Maps in PartitionPruneState are updated to
|
||||
* account for initial pruning possibly having eliminated some of the
|
||||
* subplans.
|
||||
@@ -2109,7 +2109,7 @@ CreatePartitionPruneState(EState *estate, PartitionPruneInfo *pruneinfo,
|
||||
*/
|
||||
partrel = ExecGetRangeTableRelation(estate, pinfo->rtindex, false);
|
||||
|
||||
/* Remember for InitExecPartitionPruneContext(). */
|
||||
/* Remember for InitExecPartitionPruneContexts(). */
|
||||
pprune->partrel = partrel;
|
||||
|
||||
partkey = RelationGetPartitionKey(partrel);
|
||||
|
@@ -1311,7 +1311,7 @@ ExecInsert(ModifyTableContext *context,
|
||||
|
||||
/*
|
||||
* Convert the OLD tuple to the new partition's format/slot, if
|
||||
* needed. Note that ExceDelete() already converted it to the
|
||||
* needed. Note that ExecDelete() already converted it to the
|
||||
* root's partition's format/slot.
|
||||
*/
|
||||
oldSlot = context->cpDeletedSlot;
|
||||
|
@@ -100,7 +100,7 @@ SeqRecheck(SeqScanState *node, TupleTableSlot *slot)
|
||||
* ExecSeqScan(node)
|
||||
*
|
||||
* Scans the relation sequentially and returns the next qualifying
|
||||
* tuple. This variant is used when there is no es_eqp_active, no qual
|
||||
* tuple. This variant is used when there is no es_epq_active, no qual
|
||||
* and no projection. Passing const-NULLs for these to ExecScanExtended
|
||||
* allows the compiler to eliminate the additional code that would
|
||||
* ordinarily be required for the evaluation of these.
|
||||
|
Reference in New Issue
Block a user