summaryrefslogtreecommitdiff
path: root/src/include/executor
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/executor')
-rw-r--r--src/include/executor/hashjoin.h4
-rw-r--r--src/include/executor/nodeAgg.h2
-rw-r--r--src/include/executor/tablefunc.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/include/executor/hashjoin.h b/src/include/executor/hashjoin.h
index 6fb2dc04f6f..a9f9872a78c 100644
--- a/src/include/executor/hashjoin.h
+++ b/src/include/executor/hashjoin.h
@@ -190,7 +190,7 @@ typedef struct ParallelHashJoinBatch
/*
* Each backend requires a small amount of per-batch state to interact with
- * each ParalellHashJoinBatch.
+ * each ParallelHashJoinBatch.
*/
typedef struct ParallelHashJoinBatchAccessor
{
@@ -201,7 +201,7 @@ typedef struct ParallelHashJoinBatchAccessor
size_t ntuples; /* number of tuples */
size_t size; /* size of partition in memory */
size_t estimated_size; /* size of partition on disk */
- size_t old_ntuples; /* how many tuples before repartioning? */
+ size_t old_ntuples; /* how many tuples before repartitioning? */
bool at_least_one_chunk; /* has this backend allocated a chunk? */
bool done; /* flag to remember that a batch is done */
diff --git a/src/include/executor/nodeAgg.h b/src/include/executor/nodeAgg.h
index 4650dc2c7e9..ab55be8f113 100644
--- a/src/include/executor/nodeAgg.h
+++ b/src/include/executor/nodeAgg.h
@@ -104,7 +104,7 @@ typedef struct AggStatePerTransData
/*
* Comparators for input columns --- only set/used when aggregate has
* DISTINCT flag. equalfnOne version is used for single-column
- * commparisons, equalfnMulti for the case of multiple columns.
+ * comparisons, equalfnMulti for the case of multiple columns.
*/
FmgrInfo equalfnOne;
ExprState *equalfnMulti;
diff --git a/src/include/executor/tablefunc.h b/src/include/executor/tablefunc.h
index 29c546f83e4..52424ae2ffd 100644
--- a/src/include/executor/tablefunc.h
+++ b/src/include/executor/tablefunc.h
@@ -47,7 +47,7 @@ struct TableFuncScanState;
*
* DestroyBuilder shall release all resources associated with a table builder
* context. It may be called either because all rows have been consumed, or
- * because an error ocurred while processing the table expression.
+ * because an error occurred while processing the table expression.
*/
typedef struct TableFuncRoutine
{