Optimize the case where a btree indexscan has current and mark positions

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 08ae5edc5c883352018ef754562fc8edbd4177fd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-08-24T01:18:34Z
Releases: 8.2.0
Optimize the case where a btree indexscan has current and mark positions
on the same index page; we can avoid data copying as well as buffer refcount
manipulations in this common case.  Makes for a small but noticeable
improvement in mergejoin speed.

Heikki Linnakangas

Files