pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Allow ENOENT in check_mode_recursive().
Date: Sun, 09 Sep 2018 01:29:01 +0000
Message-ID: <E1fyoX7-0003sY-1z@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1fyoX7-0003sY-1z@gemulon.postgresql.org>
Permalink:  ../E1fyoX7-0003sY-1z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fyoX7-0003sY-1z@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: Allow ENOENT in check_mode_recursive().
  In-Reply-To: <E1fyoX7-0003sY-1z@gemulon.postgresql.org>
  References: <E1fyoX7-0003sY-1z@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox