Nov 2026

1 commit
Fix missing tts_tid assignments in ExecForceStoreHeapTuple().
2 Nov 2026Nathan BossartmasterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25Also in: ExecForceStoreHeapTuple() loses tts_tid, so ORDER BY-op index scans project an invalid ctid (not this thread)
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #191 of 5 reviewers saw the final version

Relative to #19, the commit replaces the saved TID and trailing assignment with direct assignments in the buffer and virtual branches of src/backend/executor/execTuples.c and removes the comment, as confirmed in #24; it credits Virender Singla as author and Greg Burd as co-author. I disagree with the attribution in thread #253715: its source #1153450 dates from September 8, whereas this thread contains the later integrated patch and October 30 staged version #19 from which the commit was finalized.

  • Dilip Kumarsaw an earlier versiontrailerDilip endorsed the original buffer-slot fix in #4, before the fix was extended to virtual slots.
  • Andres Freundsaw an earlier versiontrailerAndres proposed test improvements and defensive checks in #6, then identified missing virtual-slot handling and supplied an FDW reproducer in #13 and #14, before the expanded implementation was posted.
  • Nikolay Samokhvalovsaw an earlier versiontrailerNikolay identified the unchanged test join and weaknesses in the invalid-TID guard in #10, before the virtual-slot fix and subsequent simplification.
  • Heikki Linnakangassaw an earlier versiontrailerHeikki questioned the staged comment and saved TID in #21, but his review preceded Nathan's replacement of the saved-TID implementation with branch-local assignments reported in #24.
  • Nathan Bossartsaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Virender Singla1
Reviewer
Andres Freund1
Dilip Kumar1
Heikki Linnakangas1
Nathan Bossartcommitter1
Nikolay Samokhvalov1
Tested by
shihao zhong1
Co author
Greg Burd1
Committer
Nathan Bossart1