Hello Peter,

12.03.2024 01:07, Peter Geoghegan wrote:
Update obsolete index scan TID comments.

Oversight in commit c2fe139c20.

I found one more obsolete comment mentioning xs_ctup:
            /*
             * For IndexOnlyScan, the tuple stored in ss_ScanTupleSlot may be
             * a virtual tuple that does not have the ctid column, so we have
             * to get the TID from xs_ctup.t_self.
             */
            IndexScanDesc scan = ((IndexOnlyScanState *) 
scanstate)->ioss_ScanDesc;

            *current_tid = scan->xs_heaptid;

Maybe you would like to fix it too...

Best regards,
Alexander


Reply via email to