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

From: zourenli <398740848(at)qq(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [PATCH] libpq: Fix incorrect message type in getBackendKeyData() comment
Date: 2026-02-26 03:01:29
Message-ID: tencent_C59817929F863927CA14B1C8BA9210019B0A@qq.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all, &nbsp;

This is a trivial fix for the comment of getBackendKeyData() function in fe-protocol3.c. &nbsp;
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. &nbsp;
No functional changes are involved. &nbsp;

Patch is attached below. &nbsp;

Thanks, &nbsp;
zourenli &nbsp;
<398740848(at)qq(dot)com&gt;

Attachment Content-Type Size
v1-0001-fix-incorrect-message-type-in-getBackendKeyData-comment.patch application/octet-stream 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-02-26 03:08:28 Re: Add errdetail() with PID and UID about source of termination signal
Previous Message Amit Kapila 2026-02-26 02:56:38 Re: Skipping schema changes in publication