mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Fix typos in comments.
Backpatch to all supported versions, where applicable, to make backpatching of future fixes go more smoothly. Josh Soref Discussion: https://www.postgresql.org/message-id/CACZqfqCf+5qRztLPgmmosr-B0Ye4srWzzw_mo4c_8_B_mtjmJQ@mail.gmail.com
This commit is contained in:
@ -1261,7 +1261,7 @@ InitResultRelInfo(ResultRelInfo *resultRelInfo,
|
||||
resultRelInfo->ri_projectReturning = NULL;
|
||||
|
||||
/*
|
||||
* If partition_root has been specified, that means we are builiding the
|
||||
* If partition_root has been specified, that means we are building the
|
||||
* ResultRelationInfo for one of its leaf partitions. In that case, we
|
||||
* need *not* initialize the leaf partition's constraint, but rather the
|
||||
* the partition_root's (if any). We must do that explicitly like this,
|
||||
|
@ -533,7 +533,7 @@ ExecParallelRetrieveInstrumentation(PlanState *planstate,
|
||||
int plan_node_id = planstate->plan->plan_node_id;
|
||||
MemoryContext oldcontext;
|
||||
|
||||
/* Find the instumentation for this node. */
|
||||
/* Find the instrumentation for this node. */
|
||||
for (i = 0; i < instrumentation->num_plan_nodes; ++i)
|
||||
if (instrumentation->plan_node_id[i] == plan_node_id)
|
||||
break;
|
||||
|
@ -391,7 +391,7 @@ ExecSimpleRelationInsert(EState *estate, TupleTableSlot *slot)
|
||||
if (rel->rd_att->constr)
|
||||
ExecConstraints(resultRelInfo, slot, slot, estate);
|
||||
|
||||
/* Store the slot into tuple that we can insett. */
|
||||
/* Store the slot into tuple that we can inspect. */
|
||||
tuple = ExecMaterializeSlot(slot);
|
||||
|
||||
/* OK, store the tuple and create index entries for it */
|
||||
|
@ -304,7 +304,7 @@ typedef struct AggStatePerTransData
|
||||
/*
|
||||
* Slots for holding the evaluated input arguments. These are set up
|
||||
* during ExecInitAgg() and then used for each input row requiring
|
||||
* procesessing besides what's done in AggState->evalproj.
|
||||
* processing besides what's done in AggState->evalproj.
|
||||
*/
|
||||
TupleTableSlot *sortslot; /* current input tuple */
|
||||
TupleTableSlot *uniqslot; /* used for multi-column DISTINCT */
|
||||
|
@ -354,7 +354,7 @@ advance_windowaggregate(WindowAggState *winstate,
|
||||
|
||||
/*
|
||||
* We must track the number of rows included in transValue, since to
|
||||
* remove the last input, advance_windowaggregate_base() musn't call the
|
||||
* remove the last input, advance_windowaggregate_base() mustn't call the
|
||||
* inverse transition function, but simply reset transValue back to its
|
||||
* initial value.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user