]> granicus.if.org Git - postgresql/commit
Stabilize results of brin regression test.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Jun 2015 17:46:34 +0000 (13:46 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Jun 2015 17:46:34 +0000 (13:46 -0400)
commitbac99475eb6e9e6d69a91fee30b5420b8e0115be
treef0c2d4aa9a65e8b49f623737d8b0fcfd1556f002
parent5cdf25e16843dff33dbc2ddc02941458032e3ad4
Stabilize results of brin regression test.

This test used seqscans on tenk1, with LIMIT, to build test data.
That works most of the time, but if the synchronized-seqscan logic
kicks in, we get varying test data.  This seems likely to explain
the erratic test failures on buildfarm member chipmunk, which uses
smaller-than-default shared_buffers.  To fix, add ORDER BY clauses to
force the ordering to be what it was implicitly being assumed to be.

Peter Geoghegan had noticed this with respect to one of the trouble
spots, though not the ones actually causing the chipmunk issue.
src/test/regress/expected/brin.out
src/test/regress/sql/brin.sql