Re: [PATCH] Extensible ReadyForQuery wire protocol message and C hook, for connection pools and WAIT FOR LSN - Mailing list pgsql-hackers

From Manu
Subject Re: [PATCH] Extensible ReadyForQuery wire protocol message and C hook, for connection pools and WAIT FOR LSN
Date
Msg-id 179150261301.577023.14913863212388358369@gmail.com
Whole thread
In response to Re: [PATCH] Extensible ReadyForQuery wire protocol message and C hook, for connection pools and WAIT FOR LSN  (Hannu Krosing <hannuk@google.com>)
Responses Re: [PATCH] Extensible ReadyForQuery wire protocol message and C hook, for connection pools and WAIT FOR LSN
List pgsql-hackers
Hi Hannu,

Glad it was useful.

> Hmm, this is what I get on PostgreSQL 16.4
> [...] 0/17F5830

On master pg_lsn now zero-pads the low word -- commit 2633dae2e48
("Standardize LSN formatting by zero padding", Jul 2025) made
pg_lsn_out use %X/%08X.  16.4, 17 and 18 still use %X, so L matches
pg_lsn there; on master it does not, since the patch formats L with
%X.  If L is meant to mirror pg_lsn, %08X would track the new format.

Happy to re-test once you post the next version.

Regards,
Manu



pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: Fix detection of truncated zstd-compressed backups
Next
From: Amit Kapila
Date:
Subject: Re: Proposal: Conflict log history table for Logical Replication