From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Don't use an Msys virtual path to create a tablespace
Date: Mon, 19 Mar 2018 21:56:28 +0000
Message-ID: <E1ey2lY-0001Gk-BR@gemulon.postgresql.org> (raw)
Don't use an Msys virtual path to create a tablespace
The new unlogged_reinit recovery tests create a new tablespace using
TestLib.pm's tempdir. However, on msys that function returns a virtual
path that isn't understood by Postgres. Here we add a new function to
TestLib.pm to turn such a path into a real path on the underlying file
system, and use it in the new test to create the tablespace. The new
function is essentially a NOOP everywhere but msys.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9ad21a6957ff2d8743e9a59ba062d3c009b24ec4
Modified Files
--------------
src/test/perl/TestLib.pm | 18 ++++++++++++++++++
src/test/recovery/t/014_unlogged_reinit.pl | 4 +++-
2 files changed, 21 insertions(+), 1 deletion(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andrew@dunslane.net
Subject: Re: pgsql: Don't use an Msys virtual path to create a tablespace
In-Reply-To: <E1ey2lY-0001Gk-BR@gemulon.postgresql.org>
References: <E1ey2lY-0001Gk-BR@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox