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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In pg_ctl, report unexpected failure to stat() the postmaster.pi
Date: 2015-07-25 19:58:24
Message-ID: E1ZJ5aS-0003Co-9t@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-07-25 20:37:31 pgsql: Some platforms now need contrib/tsm_system_time to be linked wit
Previous Message Tom Lane 2015-07-25 19:46:38 pgsql: Update oidjoins regression test for 9.5.