postgresql/src/interfaces
Heikki Linnakangas b22b619056 Fix tracing of BackendKeyData and CancelRequest
BackendKeyData length was increased from 4 bytes to a variable-length
length (up to 256 bytes) in a460251f0a. However, pqTrace still traces
it as a 4 bytes key, leading to a "mismatched message length" warning
message. The same issue impacts the tracing of CancelRequest.

This patch fixes the issue by using pqTraceOutputNchar instead of
pqTraceOutputInt32 in both cases.

Author: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Discussion: https://www.postgresql.org/message-id/CAO6_Xqo6gTv9=76H=k2qDRFU+KHuBiY2S=bQynEr6J8gS7L6xA@mail.gmail.com
Backpatch-through: 18
2026-07-03 14:57:35 +03:00
..
ecpg Fix mismatched deallocation functions 2026-07-01 13:50:08 +02:00
libpq Fix tracing of BackendKeyData and CancelRequest 2026-07-03 14:57:35 +03:00
libpq-oauth libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE 2026-06-17 09:57:20 -07:00
Makefile oauth: Move the builtin flow into a separate module 2025-05-01 09:14:30 -07:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00