pgsql: Don't use an Msys virtual path to create a tablespace

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Don't use an Msys virtual path to create a tablespace
Дата
Msg-id E1ey2lY-0001Gk-BR@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix performance hazard in REFRESH MATERIALIZED VIEWCONCURRENTLY
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Add tests for reinit.c