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

diff --git a/src/backend/utils/activity/wait_event_names.txt 
b/src/backend/utils/activity/wait_event_names.txt
index 560659f9568..bafdd7d2e96 100644
--- a/src/backend/utils/activity/wait_event_names.txt
+++ b/src/backend/utils/activity/wait_event_names.txt
@@ -294,7 +294,7 @@ Section: ClassName - WaitEventBuffer
 BUFFER_CLEANUP "Waiting to acquire an exclusive pin on a buffer. Buffer pin 
waits can be protracted if another process holds an open cursor that last read 
data from the buffer in question."
 BUFFER_SHARED  "Waiting to acquire a shared lock on a buffer."
 BUFFER_SHARE_EXCLUSIVE "Waiting to acquire a share exclusive lock on a buffer."
-BUFFER_EXCLUSIVE       "Waiting to acquire a exclusive lock on a buffer."
+BUFFER_EXCLUSIVE       "Waiting to acquire an exclusive lock on a buffer."

 ABI_compatibility:

Reply via email to