Tighten the per-operator testing done in brin regression test.

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

Commit: 79454c696bd3346a9f00f5e940398fb01a337fad
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-06-04T18:39:52Z
Releases: 9.5.0
Tighten the per-operator testing done in brin regression test.

Verify that the number of matches is exactly what it should be, not just
that it not be zero.  This should help us detect any environment-dependent
issues.

Also, verify that we're getting the expected type of scan plan (either
bitmap or seqscan as appropriate).  Right now, this is failing on the
cidrcol test cases, as shown in the output file.  I'll look into that
in a bit, but it seems good to commit this as-is temporarily to verify
that it behaves as expected on the buildfarm.

Files

PathChange+/−
src/test/regress/expected/brin.out modified +243 −52
src/test/regress/sql/brin.sql modified +215 −52