aboutsummaryrefslogtreecommitdiff
path: root/src/backend/postmaster/pgstat.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2020-03-23 22:19:56 -0700
committerAndres Freund <andres@anarazel.de>2020-03-23 22:53:22 -0700
commitcedffbdb8b137325a79e07a976457bc2314adf9b (patch)
treee46e13b8808a596ced17dcbefee4ccfc20793096 /src/backend/postmaster/pgstat.c
parent496ee647ecd2917369ffcf1eaa0b2cdca07c8730 (diff)
downloadpostgresql-cedffbdb8b137325a79e07a976457bc2314adf9b.tar.gz
postgresql-cedffbdb8b137325a79e07a976457bc2314adf9b.zip
Report wait event for cost-based vacuum delay.
Author: Justin Pryzby Discussion: https://postgr.es/m/20200321040750.GD13662@telsasoft.com
Diffstat (limited to 'src/backend/postmaster/pgstat.c')
-rw-r--r--src/backend/postmaster/pgstat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c
index 5a8c4abe8a2..4763c24be94 100644
--- a/src/backend/postmaster/pgstat.c
+++ b/src/backend/postmaster/pgstat.c
@@ -3830,6 +3830,9 @@ pgstat_get_wait_timeout(WaitEventTimeout w)
case WAIT_EVENT_RECOVERY_RETRIEVE_RETRY_INTERVAL:
event_name = "RecoveryRetrieveRetryInterval";
break;
+ case WAIT_EVENT_VACUUM_DELAY:
+ event_name = "VacuumDelay";
+ break;
/* no default case, so that compiler will warn */
}