Re: BUG #19519: REPACK can fail due to missing chunk for toast value

From: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Srinath Reddy Sadipiralla <srinath2133(at)gmail(dot)com>, Imran Zaheer <imran(dot)zhir(at)gmail(dot)com>, Alexander Lakhin <exclusion(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Konstantin Knizhnik <knizhnik(at)garret(dot)ru>
Subject: Re: BUG #19519: REPACK can fail due to missing chunk for toast value
Date: 2026-10-12 10:57:37
Message-ID: CAEze2Wjx98pq2FPrxqyqfTOgSMHhcMntHi1RxMFPP1NsGN+g0Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, 9 Oct 2026 at 14:56, Matthias van de Meent
<boekewurm+postgres(at)gmail(dot)com> wrote:
>
> Attached is a flattened v6, containing v4 + the fixes descibed above.

And now v7, which fixes the bug in v6 that caused issues in the
integration suite, which I missed because I'd only tested with
regress+recovery.

The bug was that I failed to copy the visibility-related fields of the
heap tuple with inlined toast fields. Now that I've added that to the
patch the full test suite seems to pass just fine.

Kind regards,

Matthias van de Meent
Databricks (https://www.databricks.com)

Attachment Content-Type Size
v7-0001-Fix-missing-chunk-errors-during-heap-rewrites-and.patch application/octet-stream 50.5 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Previous Message QQ Mail 2026-10-12 08:14:16 Re: BUG #19732: first_value/last_value/nth_value return NULL with EXCLUDE TIES when the current row is outside its f