Re: Why does [auto-]vacuum delay not report a wait event?

From: Andres Freund <andres(at)anarazel(dot)de>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why does [auto-]vacuum delay not report a wait event?
Date: 2020-03-24 06:00:32
Message-ID: 20200324060032.27v2xemowqfrj6e6@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2020-03-21 17:24:57 -0700, Andres Freund wrote:
> > diff --git a/src/include/pgstat.h b/src/include/pgstat.h
> > index 851d0a7246..4db40e23cc 100644
> > --- a/src/include/pgstat.h
> > +++ b/src/include/pgstat.h
> > @@ -848,7 +848,8 @@ typedef enum
> > WAIT_EVENT_BASE_BACKUP_THROTTLE = PG_WAIT_TIMEOUT,
> > WAIT_EVENT_PG_SLEEP,
> > WAIT_EVENT_RECOVERY_APPLY_DELAY,
> > - WAIT_EVENT_RECOVERY_RETRIEVE_RETRY_INTERVAL
> > + WAIT_EVENT_RECOVERY_RETRIEVE_RETRY_INTERVAL,
> > + WAIT_EVENT_VACUUM_DELAY,
> > } WaitEventTimeout;
>
> Looks good to me - unless somebody protests I'm going to apply this
> shortly.

And pushed. The only thing I changed was to remove the added trailing ,
:)

Thanks for the patch,

Andres

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2020-03-24 06:06:32 Re: improve transparency of bitmap-only heap scans
Previous Message Michael Paquier 2020-03-24 05:30:54 Re: Unqualified pg_catalog casts in pg_dump