Improve regression test coverage for hash indexes.
authorRobert Haas <rhaas@postgresql.org>
Tue, 18 Oct 2016 19:55:03 +0000 (15:55 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 18 Oct 2016 19:57:58 +0000 (15:57 -0400)
commitb801e120080de836b834c1b756c4c4d81ce841b5
treeffbd50b9d2d30d251d1928eca322f8eca59e38a3
parent90d3da11c9417218ebd4f86b2003c98421824712
Improve regression test coverage for hash indexes.

On my system, this improves coverage for src/backend/access/hash from
61.3% of lines to 88.2% of lines, and from 83.5% of functions to 97.5%
of functions, which is pretty good for 36 lines of tests.

Mithun Cy, reviewing by Amit Kapila and Álvaro Herrera
src/test/regress/expected/hash_index.out
src/test/regress/sql/hash_index.sql