pgsql: Allow ENOENT in check_mode_recursive(). - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Allow ENOENT in check_mode_recursive().
Date
Msg-id E1fyoX7-0003sY-1z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
master

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

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


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Fix v10 back-patch of 076a3c2112b127b3b36346dbc64659f9a165f60f.
Next
From: Tom Lane
Date:
Subject: pgsql: Install a check for mis-linking of src/port and src/commonfunct