Fix race condition in parallel regression tests. The new plancache test

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

Commit: c4fdfb8de3ab534a8d988f27c5ab0d808e924e22
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-03-16T16:11:49Z
Releases: 8.3.0
Fix race condition in parallel regression tests.  The new plancache test
was expecting there to be no regular table named 'foo', but it turns out
the rules test transiently creates one, so that plancache would sometimes
fail.  I couldn't reproduce that in quite a few tries here, but several
buildfarm machines have shown the failure.  Fix by renaming plancache's
temp table to something nonconflicting.

Files

PathChange+/−
src/test/regress/expected/plancache.out modified +14 −12
src/test/regress/sql/plancache.sql modified +12 −10