]> granicus.if.org Git - postgresql/commit
Make new regression test case parallel-safe, and improve its output.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Aug 2017 17:39:51 +0000 (13:39 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Aug 2017 17:39:58 +0000 (13:39 -0400)
commit1177ab1dabf72bafee8f19d904cee3a299f25892
treeb94b9e1475adcccd25f60d080937f15dcdd675d5
parent27b89876c0fb08faa17768c68101186cda2e4bef
Make new regression test case parallel-safe, and improve its output.

The test case added by commit 1f6d515a6 fails on buildfarm members that
have force_parallel_mode turned on, because we currently don't report sort
performance details from worker processes back to the master.  To fix that,
just make the test table be temp rather than regular; that's a good idea
anyway to forestall any possible interference from auto-analyze.
(The restriction that workers can't access temp tables might go away
someday, but almost certainly not before the other thing gets fixed.)

Also, improve the test so that we retain as much as possible of the
EXPLAIN ANALYZE output.  This aids debugging failures, and might also
expose problems that the preceding version masked.

Discussion: http://postgr.es/m/CADE5jYLuugnEEUsyW6Q_4mZFYTxHxaVCQmGAsF0yiY8ZDggi-w@mail.gmail.com
src/test/regress/expected/subselect.out
src/test/regress/sql/subselect.sql