> On Jul 1, 2026, at 09:44, Guoqing Yang 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/
Hi Guoqing,
On Wed, Jul 1, 2026 at 9:45 AM Guoqing Yang 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].
[1] https://www.postgresql.org/message-id/CANWCAZaZgQN54ccVheWd%3Dyg2KW_c1vTPB7hd0CXkqBNLD2-pDA%40mail.gmail.com
--
Regards,
Xuneng Zhou
HighGo Software Co., Ltd.
Re: Fix GRAPH TABLE label and property error reporting
> > I was wrong. It's not specified in the syntax rules. Your change is
> > correct. In fact transformLabelExpr() does use
> > ERRCODE_UNDEFINED_OBJECT for missing labels. I also agree with your
> > reasoning behind not using ERRCODE_UNDEFINED_COLUMN.
>
> ERRCODE_UNDEFINED_COLUMN is a subclass of syntax error, so I'm not sure
> this analysis is really valid.
I only meant that the specific error code ERRCODE_SYNTAX_ERROR is wrong here.
The query has valid syntax, and the failure happens later when looking up the
property name in the property graph, so ERRCODE_UNDEFINED_OBJECT still looked
like the best fit, also for consistency with transformLabelExpr().
--
Sami