Re: Incorrect checksum in control file with pg_rewind test

Alexander Lakhin <exclusion@gmail.com>

From: Alexander Lakhin <exclusion@gmail.com>
To: Alexander Korotkov <aekorotkov@gmail.com>, "Maksim.Melnikov" <m.melnikov@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org, Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2026-04-21T18:00:00Z
Lists: pgsql-hackers
Hello Alexander and Maksim,

21.04.2026 15:12, Alexander Korotkov wrote:
> Thank you for spotting this issue and proposing a patch. ...

FWIW, this issue was also discussed at [1] (you can find the fix proposed
and even the commitfest entry there).

[1] https://www.postgresql.org/message-id/flat/202602021426.ztjk2wp6sgiy%40alvherre.pgsql

Best regards,
Alexander



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Try to handle torn reads of pg_control in frontend.