public inbox for [email protected]  
help / color / mirror / Atom feed
From: Chao Li <[email protected]>
To: Guoqing Yang <[email protected]>
Cc: [email protected]
Cc: Andres Freund <[email protected]>
Subject: Re: Fix Grammar in Buffer Lock Wait Message
Date: Wed, 1 Jul 2026 10:02:34 +0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>



> On Jul 1, 2026, at 09:44, Guoqing Yang <[email protected]> wrote:
> 
> Fix grammar in buffer lock wait message
> Correct the wait message from "Waiting to acquire a exclusive lock on a buffer"
> to "Waiting to acquire an exclusive lock on a buffer".
> The word "exclusive" starts with a vowel sound, so the indefinite article
> should be "an" instead of "a".
> Regards,
> Guoqing Yang
> 

Nice catch.

The typo is in wait_event_names.txt, so it actually affects the docs. See the attached doc screenshot.
```
BufferCleanup Waiting to acquire **an exclusive** pin on a buffer. Buffer pin waits can be
BufferExclusive Waiting to acquire **a exclusive** lock on a buffer. 
```

The row right above it uses “an exclusive”, while the next row uses “a exclusive”.

This seems to be an oversight from 6c5c393b7, so I think it should be back-patched to 19.

Best regards,*
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/






Attachments:

  [image/png] wait_event_name.png (86.6K, ../[email protected]/2-wait_event_name.png)
  download | view image

view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Fix Grammar in Buffer Lock Wait Message
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox