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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: zourenli <398740848(at)qq(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] libpq: Fix incorrect message type in getBackendKeyData() comment
Date: 2026-03-16 07:00:36
Message-ID: abeqlIUlRSrZlVdA@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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. &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.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tender Wang 2026-03-16 07:01:10 Re: More speedups for tuple deformation
Previous Message Zhijie Hou (Fujitsu) 2026-03-16 06:58:52 RE: [PATCH] Support automatic sequence replication