Don't use an Msys virtual path to create a tablespace
Andrew Dunstan <andrew@dunslane.net>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/test/perl/TestLib.pm | modified | +18 −0 |
| src/test/recovery/t/014_unlogged_reinit.pl | modified | +3 −1 |