aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/clog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-05-16 21:00:05 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-05-16 21:00:11 -0400
commit3048898e73c75f54bb259323382e0e7f6368cb6f (patch)
tree2c2433aa9f5d62acc59a15071ed374e73e8ccd9b /src/backend/access/transam/clog.c
parent2c8dd05d6cbc86b7ad21cfd7010e041bb4c3950b (diff)
downloadpostgresql-3048898e73c75f54bb259323382e0e7f6368cb6f.tar.gz
postgresql-3048898e73c75f54bb259323382e0e7f6368cb6f.zip
Mop-up for wait event naming issues.
Synchronize the event names for parallel hash join waits with other event names, by getting rid of the slashes and dropping "-ing" suffixes. Rename ClogGroupUpdate to XactGroupUpdate, to match the new SLRU name. Move the ProcSignalBarrier event to the IPC category; it doesn't belong under IO. Also a bit more wordsmithing in the wait event documentation tables. Discussion: https://postgr.es/m/4505.1589640417@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/transam/clog.c')
-rw-r--r--src/backend/access/transam/clog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/clog.c b/src/backend/access/transam/clog.c
index 23bc1f8d4c1..f3da40ae017 100644
--- a/src/backend/access/transam/clog.c
+++ b/src/backend/access/transam/clog.c
@@ -473,7 +473,7 @@ TransactionGroupUpdateXidStatus(TransactionId xid, XidStatus status,
int extraWaits = 0;
/* Sleep until the leader updates our XID status. */
- pgstat_report_wait_start(WAIT_EVENT_CLOG_GROUP_UPDATE);
+ pgstat_report_wait_start(WAIT_EVENT_XACT_GROUP_UPDATE);
for (;;)
{
/* acts as a read barrier */