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-0002b9-0K@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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/28245b8424e29808f4f714482077a762cab0c5c5

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: Noah Misch
Date:
Subject: pgsql: Use just one database connection in the "tablespace" test.
Next
From: Andres Freund
Date:
Subject: pgsql: Add interrupt checks to contrib/pg_prewarm.