diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-06-17 16:13:16 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-06-17 16:13:16 +0900 |
commit | 3412030205211079f9b0510e2244083e4ee7b15a (patch) | |
tree | 89b607651122d058e79704cd15764db20b8a3025 /src/backend/executor/nodeHash.c | |
parent | 9d20b0ec8f2af43041b1a65e5fcd91acc47e9ace (diff) | |
download | postgresql-3412030205211079f9b0510e2244083e4ee7b15a.tar.gz postgresql-3412030205211079f9b0510e2244083e4ee7b15a.zip |
Fix more typos and inconsistencies in the tree
Author: Alexander Lakhin
Discussion: https://postgr.es/m/0a5419ea-1452-a4e6-72ff-545b1a5a8076@gmail.com
Diffstat (limited to 'src/backend/executor/nodeHash.c')
-rw-r--r-- | src/backend/executor/nodeHash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/executor/nodeHash.c b/src/backend/executor/nodeHash.c index 3c33ce74e04..d16120b9c48 100644 --- a/src/backend/executor/nodeHash.c +++ b/src/backend/executor/nodeHash.c @@ -1049,8 +1049,8 @@ ExecHashIncreaseNumBatches(HashJoinTable hashtable) /* * ExecParallelHashIncreaseNumBatches - * Every participant attached to grow_barrier must run this function - * when it observes growth == PHJ_GROWTH_NEED_MORE_BATCHES. + * Every participant attached to grow_batches_barrier must run this + * function when it observes growth == PHJ_GROWTH_NEED_MORE_BATCHES. */ static void ExecParallelHashIncreaseNumBatches(HashJoinTable hashtable) @@ -1106,7 +1106,7 @@ ExecParallelHashIncreaseNumBatches(HashJoinTable hashtable) * The combined work_mem of all participants wasn't * enough. Therefore one batch per participant would be * approximately equivalent and would probably also be - * insufficient. So try two batches per particiant, + * insufficient. So try two batches per participant, * rounded up to a power of two. */ new_nbatch = 1 << my_log2(pstate->nparticipants * 2); @@ -1674,7 +1674,7 @@ ExecHashTableInsert(HashJoinTable hashtable, } /* - * ExecHashTableParallelInsert + * ExecParallelHashTableInsert * insert a tuple into a shared hash table or shared batch tuplestore */ void |