postgresql/src/backend/utils/activity
Thomas Munro 8fba928fd7 Improve the naming of Parallel Hash Join phases.
* Commit 3048898e dropped -ING from PHJ wait event names.  Update the
  corresponding barrier phases names to match.

* Rename the "DONE" phases to "FREE".  That's symmetrical with
  "ALLOCATE", and names the activity that actually happens in that phase
  (as we do for the other phases) rather than a state.  The bug fixed by
  commit 8d578b9b might have been more obvious with this name.

* Rename the batch/bucket growth barriers' "ALLOCATE" phases to
  "REALLOCATE", a better description of what they do.

* Update the high level comments about phases to highlight phases
  are executed by a single process with an asterisk (mostly memory
  management phases).

No behavior change, as this is just improving internal identifiers.  The
only user-visible sign of this is that a couple of wait events' display
names change from "...Allocate" to "...Reallocate" in pg_stat_activity,
to stay in sync with the internal names.

Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/CA%2BhUKG%2BMDpwF2Eo2LAvzd%3DpOh81wUTsrwU1uAwR-v6OGBB6%2B7g%40mail.gmail.com
2023-03-23 13:14:25 +13:00
..
Makefile pgstat: Infrastructure for more detailed IO statistics 2023-02-08 20:53:42 -08:00
backend_progress.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
backend_status.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build pgstat: Infrastructure for more detailed IO statistics 2023-02-08 20:53:42 -08:00
pgstat.c Remove PgStat_BackendFunctionEntry 2023-03-16 14:22:34 +09:00
pgstat_archiver.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgstat_bgwriter.c pgstat: Infrastructure for more detailed IO statistics 2023-02-08 20:53:42 -08:00
pgstat_checkpointer.c pgstat: Infrastructure for more detailed IO statistics 2023-02-08 20:53:42 -08:00
pgstat_database.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgstat_function.c Remove PgStat_BackendFunctionEntry 2023-03-16 14:22:34 +09:00
pgstat_io.c Suppress more compiler warnings in new pgstats code. 2023-02-28 20:30:49 -05:00
pgstat_relation.c pgstat: Infrastructure for more detailed IO statistics 2023-02-08 20:53:42 -08:00
pgstat_replslot.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgstat_shmem.c pgstat: Infrastructure for more detailed IO statistics 2023-02-08 20:53:42 -08:00
pgstat_slru.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgstat_subscription.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgstat_wal.c pgstat: Infrastructure for more detailed IO statistics 2023-02-08 20:53:42 -08:00
pgstat_xact.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
wait_event.c Improve the naming of Parallel Hash Join phases. 2023-03-23 13:14:25 +13:00