From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update the names of Parallel Hash Join phases.
Date: Wed, 17 Mar 2021 05:47:57 +0000
Message-ID: <E1lMP2D-0002EG-Ij@gemulon.postgresql.org> (raw)
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/378802e3713c6c0fce31d2390c134cd5d7c30157
Modified Files
--------------
src/backend/executor/nodeHash.c | 72 ++++++++++++++++----------------
src/backend/executor/nodeHashjoin.c | 83 +++++++++++++++++++------------------
src/backend/postmaster/pgstat.c | 8 ++--
src/include/executor/hashjoin.h | 38 ++++++++---------
src/include/pgstat.h | 4 +-
5 files changed, 104 insertions(+), 101 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tmunro@postgresql.org
Subject: Re: pgsql: Update the names of Parallel Hash Join phases.
In-Reply-To: <E1lMP2D-0002EG-Ij@gemulon.postgresql.org>
References: <E1lMP2D-0002EG-Ij@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox