postgresql/src/backend
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
..
access Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
bootstrap Simplify handling of the timezone GUC by making initdb choose the default. 2011-09-09 17:59:11 -04:00
catalog ProcedureCreate neglected to record dependencies on default expressions. 2011-10-03 12:13:15 -04:00
commands Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
executor Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:36:49 -04:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Remove many -Wcast-qual warnings 2011-09-11 21:54:32 +03:00
main Add postmaster -C option to query configuration parameters, and have 2011-10-06 09:38:39 -04:00
nodes Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
optimizer Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
parser Improve generated column names for cases involving sub-SELECTs. 2011-10-01 14:01:46 -04:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
postmaster Add postmaster -C option to query configuration parameters, and have 2011-10-06 09:38:39 -04:00
regex Add markers for skips. 2011-08-26 18:15:13 -04:00
replication Ensure walsenders can be SIGTERMed while in non-walsender code 2011-10-06 21:43:14 +02:00
rewrite Rearrange planner to save the whole PlannerInfo (subroot) for a subquery. 2011-09-03 15:36:24 -04:00
snowball Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
storage Allow snapshot references to still work during transaction abort. 2011-09-26 22:25:28 -04:00
tcop Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
tsearch Remove many -Wcast-qual warnings 2011-09-11 21:54:32 +03:00
utils Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
Makefile Fix symlink for errcodes.h so it works in VPATH builds from tarballs. 2011-06-22 13:08:08 -04:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
nls.mk Add the possibility to pass --flag arguments to xgettext calls 2011-06-27 00:37:21 +03:00