pgsql: In pg_ctl, report unexpected failure to stat() the postmaster.pi - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: In pg_ctl, report unexpected failure to stat() the postmaster.pi
Date
Msg-id E1ZJ5aS-0003Cp-9y@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
In pg_ctl, report unexpected failure to stat() the postmaster.pid file.

Any error other than ENOENT is a bit suspicious here, and perhaps should
not be grounds for assuming the postmaster has failed.  For the moment
though, just report it, and don't change the behavior otherwise.  The
intent is mainly to try to determine why we are seeing intermittent
failures in this area on some buildfarm members.

Back-patch to 9.5 where some of these failures have happened.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/87221867e8b8fedb347e32d3d919e62ae85edc81

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c |    5 +++++
1 file changed, 5 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Update oidjoins regression test for 9.5.
Next
From: Tom Lane
Date:
Subject: pgsql: In pg_ctl, report unexpected failure to stat() the postmaster.pi