Use just one database connection in the "tablespace" test.
authorNoah Misch <noah@leadboat.com>
Wed, 12 Nov 2014 12:33:17 +0000 (07:33 -0500)
committerNoah Misch <noah@leadboat.com>
Wed, 12 Nov 2014 12:33:17 +0000 (07:33 -0500)
commit28245b8424e29808f4f714482077a762cab0c5c5
tree10f9bdb69ac89be96a4f6f102c4c187b2120921e
parent8339f33d68e08d24eb316971a0ac73af162d52b3
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.
src/backend/commands/tablespace.c
src/test/regress/input/tablespace.source
src/test/regress/output/tablespace.source