]> granicus.if.org Git - postgresql/commit
Allow ENOENT in check_mode_recursive().
authorNoah Misch <noah@leadboat.com>
Sun, 9 Sep 2018 01:26:10 +0000 (18:26 -0700)
committerNoah Misch <noah@leadboat.com>
Sun, 9 Sep 2018 01:26:17 +0000 (18:26 -0700)
commitf7d745318b180634e8bb1734867caaf71b00b305
tree4624952a1e14a23c58b8576725b89122fcc69902
parent475c1fb5a765da70a77f9f24454977a873d96dc4
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.
src/test/perl/TestLib.pm