Re: pg_control_checkpoint(): add "data_checksum_version" (Pg19)? - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: pg_control_checkpoint(): add "data_checksum_version" (Pg19)?
Date
Msg-id A8E36600-1F14-4EEE-87BC-0B3E5555B029@yesql.se
Whole thread
Responses [PATCH v5] pg_stat_statements: Add last_execution_start column
List pgsql-hackers
> On 10 Aug 2026, at 06:14, Ian Lawrence Barwick <barwick@gmail.com> wrote:

> Commit f19c0eccae adds the data_checksum_version field to the pg_controldata
> output, but there is no matching entry in "pg_control_checkpoint()". I can't
> see any reason why this is omitted (I don't see any mention of it in the
> corresponding -hackers thread [*]) so assume it's not intentional. A similar
> update was made in 99e949f84 for logical decoding status.

Thanks, that was indeed missed in the original commit.  I reworked the patch a
tiny bit and added it to the test suite as per the attached v2.  Once the
REL_19_STABLE branch is open I'll push this along with a catversion bump.

--
Daniel Gustafsson


Attachment

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: Fix detection of truncated zstd-compressed backups
Next
From: Nikhil Sontakke
Date:
Subject: Re: Hot standby accepts connections (giving wrong results) before consistency after crash reset