]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:34:07 +0000 (07:34 -0500)
commitc4d360d18259690442036c1ee07a899cbe4022a0
tree74f94cbd5f8491e5eff595e68efba6814a10a1a9
parent8fb4218ef41da0baff4909c5d74f23513bac9950
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