pgsql: Use just one database connection in the "tablespace" test. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Use just one database connection in the "tablespace" test.
Date
Msg-id E1XoXAI-0002bA-0P@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: David G Johnston
Date:
Subject: Re: pgsql: Message improvements
Next
From: Noah Misch
Date:
Subject: pgsql: Use just one database connection in the "tablespace" test.