Re: perform_spin_delay() vs wait events - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: perform_spin_delay() vs wait events
Date
Msg-id Y3xHPcgOOC9PnSE0@paquier.xyz
Whole thread Raw
In response to Re: perform_spin_delay() vs wait events  (Andres Freund <andres@anarazel.de>)
Responses Re: perform_spin_delay() vs wait events
List pgsql-hackers
On Mon, Nov 21, 2022 at 07:01:18PM -0800, Andres Freund wrote:
> I plan to push this soon unless somebody has further comments.

> @@ -146,7 +146,8 @@ typedef enum
>      WAIT_EVENT_RECOVERY_RETRIEVE_RETRY_INTERVAL,
>      WAIT_EVENT_REGISTER_SYNC_REQUEST,
>      WAIT_EVENT_VACUUM_DELAY,
> -    WAIT_EVENT_VACUUM_TRUNCATE
> +    WAIT_EVENT_VACUUM_TRUNCATE,
> +    WAIT_EVENT_SPIN_DELAY
>  } WaitEventTimeout;

That would be fine for stable branches, but could you keep that in an
alphabetical order on HEAD?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: ps command does not show walsender's connected db
Next
From: Andres Freund
Date:
Subject: Re: perform_spin_delay() vs wait events