func.sgml still claims that a sequential scan is the only way to
execute a SELECT COUNT(*) query. I think this note should just be
removed from the current docs, given the existence of index-only
scans; patch attached.
I didn't see any other outright incorrect spots regarding COUNT(*).
There are two EXPLAIN outputs for COUNT(*) queries, in
auto-explain.sgml and ddl.sgml, though those are probably fine as-is.
Description: application/octet-stream (873 bytes)
pgsql-docs by date
|Next:||From: Tom Lane||Date: 2011-11-01 22:51:02|
|Subject: Re: docs update for count(*) and index-only scans |
|Previous:||From: Thom Brown||Date: 2011-10-31 15:46:55|
|Subject: Re: PGDATA confusion|