postgresql/src/backend/access
Tom Lane a2822fb933 Support index-only scans using the visibility map to avoid heap fetches.
When a btree index contains all columns required by the query, and the
visibility map shows that all tuples on a target heap page are
visible-to-all, we don't need to fetch that heap page.  This patch depends
on the previous patches that made the visibility map reliable.

There's a fair amount left to do here, notably trying to figure out a less
chintzy way of estimating the cost of an index-only scan, but the core
functionality seems ready to commit.

Robert Haas and Ibrar Ahmed, with some previous work by Heikki Linnakangas.
2011-10-07 20:14:13 -04:00
..
common Buffering GiST index build algorithm. 2011-09-08 17:51:23 +03:00
gin Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
gist Replace the "New Linear" GiST split algorithm for boxes and points with a 2011-10-06 10:03:46 +03:00
hash Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
heap Update comments related to the crash-safety of the visibility map. 2011-09-27 09:30:23 -04:00
index Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
nbtree Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
transam Fix uninitialized-variable bug. 2011-10-04 17:08:18 -04:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00