Re: pgsql: Revert online data checksum transitions

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Masao Fujii <masao(dot)fujii(at)gmail(dot)com>
Cc: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Revert online data checksum transitions
Date: 2026-09-16 11:08:12
Message-ID: 1EEAFCFB-15DB-4EC1-BD49-964C799A01B2@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

> On 16 Sep 2026, at 13:01, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>
> On Wed, Sep 16, 2026 at 6:06 PM Daniel Gustafsson
> <dgustafsson(at)postgresql(dot)org> wrote:
>>
>> Revert online data checksum transitions
>
> It's unfortunate that this feature had to be reverted...
> Anyway, thanks for all your hard work on it!!
>
>
> After the revert, the buildfarm member longfin reported the test failure [1],
> which seems to have been caused by the revert.
>
> According to longfin's server log, the test triggers the following
> assertion failure:
>
> TRAP: failed Assert("(data - start) == data_size"), File:
> "heaptuple.c", Line: 442, PID: 78459
> ...
> 2026-09-16 06:03:57.172 EDT [77693:4] LOG: client backend (PID
> 78459) was terminated by signal 6: Abort trap: 6
> 2026-09-16 06:03:57.172 EDT [77693:5] DETAIL: Failed process was
> running: SELECT count(*) > 0 AS ok FROM pg_control_checkpoint();
>
> After the revert, pg_control_checkpoint() now returns 19 columns, but its
> pg_proc.dat entry still declares 20 output columns, including
> data_page_checksum_version. This seems to trigger the assertion failure
> in heap_form_tuple().
>
> We should remove data_page_checksum_version from the pg_control_checkpoint
> entry in pg_proc.dat and reduce proargmodes from 20 output columns to 19?

Ugh, I thought I had tested everything but clearly missed this one. Will fix immediately when back from lunch.

./daniel

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Manuel Reyes Bravo 2026-09-16 12:26:16 Re: pgsql: Fix index rebuild progress reporting for REPACK (CONCURRENTLY)
Previous Message Fujii Masao 2026-09-16 11:00:35 Re: pgsql: Revert online data checksum transitions

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2026-09-16 11:33:34 Re: 64-bit MultiXactOffset vs. 9.3->9.4 upgrade, pg_resetwal, "wraparound" msg
Previous Message Fujii Masao 2026-09-16 11:00:35 Re: pgsql: Revert online data checksum transitions