aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-01-23 13:39:00 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-01-23 13:39:00 +0200
commit95931133a959404cf7320b49058b2f1c2e4606b9 (patch)
tree63249b639bc6c367db56cf0ad7cc06b75c9db99e /src/backend/executor
parent1699e6dd1fa7fbc7c3d114b121828eb27eb523b1 (diff)
downloadpostgresql-95931133a959404cf7320b49058b2f1c2e4606b9.tar.gz
postgresql-95931133a959404cf7320b49058b2f1c2e4606b9.zip
Fix misc typos in comments.
Spotted mostly by Fabien Coelho. Discussion: https://www.postgresql.org/message-id/alpine.DEB.2.21.1901230947050.16643@lancre
Diffstat (limited to 'src/backend/executor')
-rw-r--r--src/backend/executor/execExprInterp.c2
-rw-r--r--src/backend/executor/execParallel.c2
-rw-r--r--src/backend/executor/execTuples.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/executor/execExprInterp.c b/src/backend/executor/execExprInterp.c
index d793efdd9cd..5a7206f5882 100644
--- a/src/backend/executor/execExprInterp.c
+++ b/src/backend/executor/execExprInterp.c
@@ -1873,7 +1873,7 @@ CheckOpSlotCompatibility(ExprEvalStep *op, TupleTableSlot *slot)
/*
* Should probably fixed at some point, but for now it's easier to allow
- * buffer and heap tuples to be used interchangably.
+ * buffer and heap tuples to be used interchangeably.
*/
if (slot->tts_ops == &TTSOpsBufferHeapTuple &&
op->d.fetch.kind == &TTSOpsHeapTuple)
diff --git a/src/backend/executor/execParallel.c b/src/backend/executor/execParallel.c
index d6cfd28ddc2..ceea3d6d721 100644
--- a/src/backend/executor/execParallel.c
+++ b/src/backend/executor/execParallel.c
@@ -1049,7 +1049,7 @@ ExecParallelRetrieveJitInstrumentation(PlanState *planstate,
MemoryContextAllocZero(planstate->state->es_query_cxt, sizeof(JitInstrumentation));
combined = planstate->state->es_jit_worker_instr;
- /* Accummulate all the workers' instrumentations. */
+ /* Accumulate all the workers' instrumentations. */
for (n = 0; n < shared_jit->num_workers; ++n)
InstrJitAgg(combined, &shared_jit->jit_instr[n]);
diff --git a/src/backend/executor/execTuples.c b/src/backend/executor/execTuples.c
index 67474e0d209..bc5a5249448 100644
--- a/src/backend/executor/execTuples.c
+++ b/src/backend/executor/execTuples.c
@@ -1476,7 +1476,7 @@ ExecStoreAllNullTuple(TupleTableSlot *slot)
* possible.
*
* If materialize is true, the contents of the slots will be made independent
- * from the underlying storage (i.e. all buffer pins are release, memory is
+ * from the underlying storage (i.e. all buffer pins are released, memory is
* allocated in the slot's context).
*
* If shouldFree is not-NULL it'll be set to true if the returned tuple has