Fix Grammar in Buffer Lock Wait Message

Started by Guoqing Yang15 days ago3 messageshackers
Jump to latest
#1Guoqing Yang
yanggq1988@126.com

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

Attachments:

lockWaitMessage.difftext/plain; charset=UTF-8; name=lockWaitMessage.diffDownload+1-1
#2Chao Li
li.evan.chao@gmail.com
In reply to: Guoqing Yang (#1)
Re: Fix Grammar in Buffer Lock Wait Message

On Jul 1, 2026, at 09:44, Guoqing Yang <yanggq1988@126.com> 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:

wait_event_name.pngimage/png; name=wait_event_name.png; x-unix-mode=0644Download
#3Xuneng Zhou
xunengzhou@gmail.com
In reply to: Guoqing Yang (#1)
Re: Fix Grammar in Buffer Lock Wait Message

Hi Guoqing,

On Wed, Jul 1, 2026 at 9:45 AM Guoqing Yang <yanggq1988@126.com> 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".

This seems to be a typo. I asked Sol to check this kind of issue in
the tree, and it found a bunch of them. Do you bother to do a further
check? As John suggested, we better fix grammar issues wholesale[1]/messages/by-id/CANWCAZaZgQN54ccVheWd=yg2KW_c1vTPB7hd0CXkqBNLD2-pDA@mail.gmail.com.

[1]: /messages/by-id/CANWCAZaZgQN54ccVheWd=yg2KW_c1vTPB7hd0CXkqBNLD2-pDA@mail.gmail.com

--
Regards,
Xuneng Zhou
HighGo Software Co., Ltd.

Attachments:

fix-indefinite-articles.patchapplication/octet-stream; name=fix-indefinite-articles.patchDownload+58-58
check_indefinite_articles.pytext/x-python-script; charset=US-ASCII; name=check_indefinite_articles.pyDownload