Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: func.sgml.diff
Description: application/octet-stream (873 bytes)

Responses

pgsql-docs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group