pg_control_checkpoint(): add "data_checksum_version" (Pg19)?

From: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: pg_control_checkpoint(): add "data_checksum_version" (Pg19)?
Date: 2026-08-10 04:14:15
Message-ID: CAB8KJ=hb765sE8bKC-6sh=Yp3sCjN8xs474yuBrkwyoTM2pgZA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

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.

Patch attached; apologies in advance if this is noise.

[*] https://www.postgresql.org/message-id/flat/300822bd-daeb-49e5-8af7-d7ce3af65adc%40iki.fi#a5fbff0299b5f2c268ae4e02d2d7479b

Regards

Ian Barwick

Attachment Content-Type Size
v1-0001-Add-data_checksum_version-to-pg_control_checkpoin.patch text/x-patch 3.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-08-10 04:38:31 Re: Redesign per-backend statistics
Previous Message chee.wooson 2026-08-10 03:38:20 [PATCH v5] Fix exported snapshot xmin handoff race