Обсуждение: pgsql: Allow ENOENT in check_mode_recursive().

Поиск
Список
Период
Сортировка

pgsql: Allow ENOENT in check_mode_recursive().

От
Noah Misch
Дата:
Allow ENOENT in check_mode_recursive().

Buildfarm member tern failed src/bin/pg_ctl/t/001_start_stop.pl when a
check_mode_recursive() call overlapped a server's startup-time deletion
of pg_stat/global.stat.  Just warn.  Also, include errno in the message.
Back-patch to v11, where check_mode_recursive() first appeared.

Branch
------
REL_11_STABLE

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

Modified Files
--------------
src/test/perl/TestLib.pm | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)