pgsql: Msys2 tweaks for pg_validatebackup corruption test

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Msys2 tweaks for pg_validatebackup corruption test
Date: 2020-04-08 21:56:01
Message-ID: E1jMIfx-0002E9-Mg@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Msys2 tweaks for pg_validatebackup corruption test

1. Tell Msys2 not to mangle the tablespace map parameter
2. If rmdir doesn't work, fall back to trying unlink on the entry in
pg_tblspc.

Discussion: https://postgr.es/m/7330a7c7-ce5f-9769-39a1-bdb0b32bb4a6@2ndQuadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c3e4cbaab936a17b579d85c5ff28bcb2251736d0

Modified Files
--------------
src/bin/pg_validatebackup/t/003_corruption.pl | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2020-04-09 01:13:39 Re: pgsql: Remove testing for precise LSN/reserved bytes in new TAP test
Previous Message Peter Eisentraut 2020-04-08 17:30:17 pgsql: createuser: Change a fprintf to pg_log_error