Re: Support to define custom wait events for extensions - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Support to define custom wait events for extensions
Date
Msg-id ZMeLyUC48EnY0mNP@paquier.xyz
Whole thread Raw
In response to Re: Support to define custom wait events for extensions  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: Support to define custom wait events for extensions
List pgsql-hackers
On Mon, Jul 31, 2023 at 05:10:21PM +0900, Kyotaro Horiguchi wrote:
> +/*
> + * Return the name of an wait event ID for extension.
> + */
> +static const char *
> +GetWaitEventExtensionIdentifier(uint16 eventId)
>
> This looks inconsistent. Shouldn't it be GetWaitEventExtentionName()?

This is an inspiration from GetLWLockIdentifier(), which is kind of OK
by me.  If there is a consensus in changing that, fine by me, of
course.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Support to define custom wait events for extensions
Next
From: Bharath Rupireddy
Date:
Subject: Re: Support to define custom wait events for extensions