Update the names of Parallel Hash Join phases.
authorThomas Munro <tmunro@postgresql.org>
Wed, 17 Mar 2021 05:24:45 +0000 (18:24 +1300)
committerThomas Munro <tmunro@postgresql.org>
Wed, 17 Mar 2021 05:43:04 +0000 (18:43 +1300)
commit378802e3713c6c0fce31d2390c134cd5d7c30157
tree450729ca825574a00ee8513fff49f987ea0a8e59
parent3b8981b6e1a2aea0f18384c803e21e9391de669a
Update the names of Parallel Hash Join phases.

Commit 3048898e dropped -ING from some wait event names that correspond
to barrier phases.  Update the phases' names to match.

While we're here making cosmetic changes, also rename "DONE" to "FREE".
That pairs better with "ALLOCATE", and describes the activity that
actually happens in that phase (as we do for the other phases) rather
than describing a state.  The distinction is clearer after bugfix commit
3b8981b6 split the phase into two.  As for the growth barriers, rename
their "ALLOCATE" phase to "REALLOCATE", which is probably a better
description of what happens then.  Also improve the comments about
the phases a bit.

Discussion: https://postgr.es/m/CA%2BhUKG%2BMDpwF2Eo2LAvzd%3DpOh81wUTsrwU1uAwR-v6OGBB6%2B7g%40mail.gmail.com
src/backend/executor/nodeHash.c
src/backend/executor/nodeHashjoin.c
src/backend/postmaster/pgstat.c
src/include/executor/hashjoin.h
src/include/pgstat.h