Re: Fix Grammar in Buffer Lock Wait Message - Mailing list pgsql-hackers

From Chao Li
Subject Re: Fix Grammar in Buffer Lock Wait Message
Date
Msg-id E13B3352-7CA0-46F4-A583-FB9213083AEF@gmail.com
Whole thread
List pgsql-hackers

> 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/





Attachment

pgsql-hackers by date:

Previous
From: wenhui qiu
Date:
Subject: Re: WAL compression setting after PostgreSQL LZ4 default change
Next
From: Richard Guo
Date:
Subject: Re: Fix HAVING-to-WHERE pushdown with mismatched operator families