Re: [PATCH] Corruption Issue: Fix missing tts_tid in ExecForceStoreHeapTuple

From: Virender Singla <virender(dot)cse(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: [PATCH] Corruption Issue: Fix missing tts_tid in ExecForceStoreHeapTuple
Date: 2026-09-14 12:10:38
Message-ID: CAM6Zo8x+_4KQrEGh9SNDcM852ARrKK=uY9HgSrZMHQCyJ-vj9Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Just a quick ping on this patch.
It appears the `tts_tid` assignment was inadvertently omitted from the
BufferHeapTupleTableSlot path in ExecForceStoreHeapTuple() when the
function was first introduced during the PG12 TupleTableSlot
refactoring [1].
This was subsequently exposed when the GiST index scan reorder queue
was updated to route popped tuples through this same function [2]. The
relevant code hasn't changed since those commits.

Thanks,
Virender
[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=4da597edf1b
[2] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=b8b94ea129f

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Burd, Greg 2026-09-14 12:16:58 Re: [PATCH] Corruption Issue: Fix missing tts_tid in ExecForceStoreHeapTuple
Previous Message Markos Fountoulakis 2026-09-14 11:50:59 Re: [PATCH] Avoid useless prefetches in case of recent FPI WAL records