Push the responsibility for handling ignore_killed_tuples down into
Tom Lane <tgl@sss.pgh.pa.us>
Push the responsibility for handling ignore_killed_tuples down into _bt_checkkeys(), instead of checking it in the top-level nbtree.c routines as formerly. This saves a little bit of loop overhead, but more importantly it lets us skip performing the index key comparisons for dead tuples.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtree.c | modified | +3 −38 |
| src/backend/access/nbtree/nbtsearch.c | modified | +4 −20 |
| src/backend/access/nbtree/nbtutils.c | modified | +61 −11 |
| src/include/access/nbtree.h | modified | +4 −3 |