Re: verify predefined LWLocks have entries in wait_event_names.txt

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Michael Paquier <michael@paquier.xyz>
Date: 2024-01-08T20:11:30Z
Lists: pgsql-hackers

Attachments

On Mon, Jan 08, 2024 at 07:59:10AM +0000, Bertrand Drouvot wrote:
> +  input: [files(
> +    '../../backend/storage/lmgr/lwlocknames.txt',
> +    '../../backend/utils/activity/wait_event_names.txt')],
> 
> I think the "[" and "]" are not needed here.

D'oh!  Fixed in v5.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Commits

  1. Cross-check lists of predefined LWLocks.

  2. Remove Lock suffix from WALSummarizerLock in wait_event_names.txt

  3. Drop the redundant "Lock" suffix from LWLock wait event names.