Bug: Whole-row var in indexes corrupts indexes after DDL

Edit
ID 7071
Title Bug: Whole-row var in indexes corrupts indexes after DDL
CI (CFBot) Summary
Stats (from CFBot) Patch version: v5, Patch count: 1, First patch: +239−199, All patches: +239−199
Tags Bugfix
Created 2026-07-29 20:01:51
Last modified 2026-07-29 20:01:51 (1 month ago)
Latest email 2026-09-09 10:44:19 (13 hours ago)
Status
PG20-2 (2026-09-01 – 2026-09-30): Needs review
Target version
Authors Matthias van de Meent (mmeent)
Reviewers Xinlei Zhang (clemenza) Become reviewer
Committer
Links
Emails
Bug: Whole-row var in indexes corrupts indexes after DDL
First at 2026-07-29 19:45:44 by Matthias van de Meent <boekewurm at gmail.com>
Latest at 2026-09-09 10:44:19 by Matthias van de Meent <boekewurm at gmail.com>
Latest attachment (v5-0001-Track-whole-row-Var-dependencies-in-pg_depend.patch) at 2026-09-09 10:44:19 from Matthias van de Meent <boekewurm at gmail.com>
    Attachment (v5-0001-Track-whole-row-Var-dependencies-in-pg_depend.patch) at 2026-09-09 10:44:19 from Matthias van de Meent <boekewurm at gmail.com> (Patch: No)
    Attachment (v4-0001-Track-whole-row-Var-dependencies-in-pg_depend.patch) at 2026-09-08 19:08:08 from Matthias van de Meent <boekewurm at gmail.com> (Patch: No)
    Attachment (wr-review.sql) at 2026-09-04 18:16:23 from Andrey Borodin <x4mmm at yandex-team.ru> (Patch: No)
    Attachment (v3-0001-Track-whole-row-Var-dependencies-in-pg_depend.patch) at 2026-08-31 13:36:28 from Matthias van de Meent <boekewurm at gmail.com> (Patch: No)
    Attachment (v2-0001-Track-whole-row-Var-dependencies-in-pg_depend.patch) at 2026-08-31 12:39:30 from Matthias van de Meent <boekewurm at gmail.com> (Patch: No)
    Attachment (whole-row-var-index-corruptions.sql) at 2026-07-29 19:45:44 from Matthias van de Meent <boekewurm at gmail.com> (Patch: No)
History
When Who What
2026-09-09 02:45:50 Xinlei Zhang (clemenza) Added clemenza as reviewer
2026-07-29 20:01:51 Matthias van de Meent (mmeent) Attached mail thread CAEze2WjDaDyvztdXh3Cb2J=11CMVRp4NWAW0E6dBRKa1T9w5ag@mail.gmail.com
2026-07-29 20:01:51 Matthias van de Meent (mmeent) Created patch record
Edit