Use just one database connection in the "tablespace" test.
On Windows, DROP TABLESPACE has a race condition when run concurrently
with other processes having opened files in the tablespace. This led to
a rare failure on buildfarm member frogmouth. Back-patch to 9.4, where
the reconnection was introduced.
Branch
------
REL9_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/c4d360d18259690442036c1ee07a899cbe4022a0
Modified Files
--------------
src/backend/commands/tablespace.c | 7 +++++++
src/test/regress/input/tablespace.source | 3 +--
src/test/regress/output/tablespace.source | 2 +-
3 files changed, 9 insertions(+), 3 deletions(-)