docs update for count(*) and index-only scans

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: docs update for count(*) and index-only scans
Date: 2011-11-01 22:26:37
Message-ID: CAK3UJRGh3itWqYDPhogBav=334sEZcy2224eo1e4fwKc+cJhuQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hi all,

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.
Josh

Attachment Content-Type Size
func.sgml.diff application/octet-stream 873 bytes

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2011-11-01 22:51:02 Re: docs update for count(*) and index-only scans
Previous Message Thom Brown 2011-10-31 15:46:55 Re: PGDATA confusion