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-0003Co-9t@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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b7b5a1899aa3caeef30117f8e36c1f0e68e8847a

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: In pg_ctl, report unexpected failure to stat() the postmaster.pi
Next
From: Tom Lane
Date:
Subject: pgsql: Some platforms now need contrib/tsm_system_time to be linked wit