Bruce Momjian <bruce(at)momjian(dot)us> writes:> Tom Lane wrote:>> Consider index-only scans even when there is no matching qual or ORDER BY.>> >> By popular demand.
> Is this the COUNT(*) optimization?
Yeah, among other cases.
regards, tom lane