]> granicus.if.org Git - postgresql/commit
Tighten the per-operator testing done in brin regression test.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Jun 2015 18:39:52 +0000 (14:39 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Jun 2015 18:39:52 +0000 (14:39 -0400)
commit79454c696bd3346a9f00f5e940398fb01a337fad
tree2a42ef768ff99895900051d98a9a344e2f339b6e
parent78e72794a76fef3233c06800c6046aaad0704a22
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.
src/test/regress/expected/brin.out
src/test/regress/sql/brin.sql