Prevent index-only scans in stats regression test.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 45401c1c25fe1ef14bf68089de86bcb5cce9f453
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-10-09T03:45:58Z
Releases: 9.2.0
Prevent index-only scans in stats regression test.

This bollixes the test because it's expecting to see the idx_tup_fetch
counter increase, which won't happen if heap fetches were avoided by use
of an index-only scan.  Per buildfarm results.

While at it, let's just make sure that enable_seqscan and enable_indexscan
are ON for this test ...

Files

PathChange+/−
src/test/regress/expected/stats.out modified +5 −0
src/test/regress/sql/stats.sql modified +6 −0