[PATCH] libpq: Fix incorrect message type in getBackendKeyData() comment

Поиск
Список
Период
Сортировка
Искать

[PATCH] libpq: Fix incorrect message type in getBackendKeyData() comment

От:
"zourenli" <398740848@qq.com>
Дата:
Вложения:
Hi all,  

This is a trivial fix for the comment of getBackendKeyData() function in fe-protocol3.c.  
The comment incorrectly stated that the BackendKeyData message type is 'v', when in fact it is 'K' as defined in protocol.h. This fix corrects the comment to match the actual message type used in the protocol.  
No functional changes are involved.  

Patch is attached below.  

Thanks,  
zourenli  
<398740848@qq.com>

Re: [PATCH] libpq: Fix incorrect message type in getBackendKeyData() comment

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Вложения:
On Thu, Feb 26, 2026 at 11:01:29AM +0800, zourenli wrote:
> This is a trivial fix for the comment of getBackendKeyData() function in fe-protocol3.c.  
> The comment incorrectly stated that the BackendKeyData message type
> is 'v', when in fact it is 'K' as defined in protocol.h. This fix
> corrects the comment to match the actual message type used in the
> protocol.

As in PqMsg_BackendKeyData, good catch.  Grabbed this one.
--
Michael
FAQ