]> granicus.if.org Git - postgresql/commit
Prevent index-only scans in stats regression test.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 9 Oct 2011 03:45:58 +0000 (23:45 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 9 Oct 2011 03:45:58 +0000 (23:45 -0400)
commit45401c1c25fe1ef14bf68089de86bcb5cce9f453
tree4f6854324259ba92c858bb09c9af3c4fdc5e206c
parentc78d8cd1464bc6b69fdc72f9ce51407c89554ece
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 ...
src/test/regress/expected/stats.out
src/test/regress/sql/stats.sql