pgsql: Allow ENOENT in check_mode_recursive().

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow ENOENT in check_mode_recursive().
Date: 2018-09-09 01:29:01
Message-ID: E1fyoX7-0003sY-1z@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-09-09 16:23:33 pgsql: Install a check for mis-linking of src/port and src/common funct
Previous Message Noah Misch 2018-09-09 00:49:08 pgsql: Fix v10 back-patch of 076a3c2112b127b3b36346dbc64659f9a165f60f.