Re: Returning nbtree posting list TIDs in DESC order during backwards scans
Mircea Cadariu <cadariu.mircea@gmail.com>
From: Mircea Cadariu <cadariu.mircea@gmail.com>
To: Peter Geoghegan <pg@bowt.ie>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-16T21:27:56Z
Lists: pgsql-hackers
Hi, > - for (int i = 0; i < numKilled; i++) > + for (int i = so->currPos.firstItem; i <= so->currPos.lastItem; i++) Does the above change mean it will have to do more work in the loop? Whereas before it visited strictly killed, it now has to go through all of them? Kind regards, Mircea Cadariu