Streaming decoding fails with "unexpected table_index_fetch_tuple call during logical decoding" when a relation has a TOASTed conbin

Edit
ID 7404
Title Streaming decoding fails with "unexpected table_index_fetch_tuple call during logical decoding" when a relation has a TOASTed conbin
CI (CFBot) Summary
Stats (from CFBot) Patch version: v6, Patch count: 1, First patch: +76−41, All patches: +76−41
Tags Bugfix
Created 2026-10-07 07:15:41
Last modified 2026-10-16 00:55:27 (2 weeks ago)
Latest email 2026-10-29 04:52:00 (2 days ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Needs review
Target version
Authors Hayato Kuroda (ha-kun)
Reviewers Become reviewer
Committer
Links
Emails
Streaming decoding fails with "unexpected table_index_fetch_tuple call during logical decoding" when a relation has a TOASTed conbin (follow-up to BUG #18641)
First at 2026-09-30 13:59:13 by Jiří Kavalík <jiri.kavalik at comgate.cz>
Latest at 2026-09-30 13:59:13 by Jiří Kavalík <jiri.kavalik at comgate.cz>
Latest attachment (repro.sh) at 2026-09-30 13:59:13 from Jiří Kavalík <jiri.kavalik at comgate.cz>
    Attachment (repro.sh) at 2026-09-30 13:59:13 from Jiří Kavalík <jiri.kavalik at comgate.cz> (Patch: No)
Re: Streaming decoding fails with "unexpected table_index_fetch_tuple call during logical decoding" when a relation has a TOASTed conbin (follow-up to BUG #18641)
First at 2026-10-02 07:33:09 by "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com>
Latest at 2026-10-29 04:52:00 by "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com>
Latest attachment (nocfbot-v6-PG14-0001-Track-the-depth-of-scans-of-system-tables.patch) at 2026-10-29 04:52:00 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com>
    Attachment (nocfbot-v6-PG14-0001-Track-the-depth-of-scans-of-system-tables.patch) at 2026-10-29 04:52:00 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: No)
    Attachment (v5-0001-Track-the-depth-of-scans-of-system-tables.patch) at 2026-10-27 06:42:22 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: No)
    Attachment (nocfbot-v4-PG14-PG15-0001-Track-the-depth-of-scans-of-system-tabl.patch) at 2026-10-26 13:25:22 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: No)
    Attachment (v3-HEAD-0001-Track-the-depth-of-scans-of-system-tables.patch) at 2026-10-09 02:56:18 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: No)
    Attachment (v2-HEAD-0001-Track-the-depth-of-scans-of-system-tables.patch) at 2026-10-08 02:36:48 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: No)
    Attachment (v1-0001-Track-the-depth-of-scans-of-system-tables.patch) at 2026-10-02 07:33:09 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: No)
History
When Who What
2026-10-16 00:55:27 Hayato Kuroda (ha-kun) Changed targetversion to None
2026-10-07 07:17:04 Hayato Kuroda (ha-kun) Changed targetversion to stable
2026-10-07 07:16:08 Hayato Kuroda (ha-kun) Attached mail thread OS7PR01MB183170479614BCD8C3E2F8560F5892@OS7PR01MB18317.jpnprd01.prod.outlook.com
2026-10-07 07:15:41 Hayato Kuroda (ha-kun) Attached mail thread CAF7a2M-OF+TjYUBvkSV2oyZNYuPm=EqTApcMDOC+aevBFPuWrg@mail.gmail.com
2026-10-07 07:15:41 Hayato Kuroda (ha-kun) Created patch record
Edit