On Mon, Oct 10, 2011 at 6:23 PM, Bruce Momjian <br...@momjian.us> wrote: > I talked to Robert Haas and he said that index-only scans do not > optimize COUNT(*). Is this something we can do for PG 9.2? Is anyone > working on this?
People usually conflate multiple problems when they talk about "count(*). The usual case people are concerned about would require materialized views, not index-only scans. -- greg -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers