pgsql: Use just one database connection in the "tablespace" test.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use just one database connection in the "tablespace" test.
Date: 2014-11-12 12:36:50
Message-ID: E1XoXAI-0002bA-0P@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-11-12 20:27:06 pgsql: Add interrupt checks to contrib/pg_prewarm.
Previous Message David G Johnston 2014-11-12 02:26:48 Re: pgsql: Message improvements