On Fri, Jun 23, 2017 at 1:43 PM, Tom Lane <[email protected]> wrote: > Muhammad Hanif Abdul Hamid <[email protected]> writes: >> Within this week, I have faced two times "postmaster.pid" went missing in a >> sudden. Nobody deleted it or shutdown the server. > > I'd lay very long odds that your second statement is false. *Something* > removed that file, and it wasn't the postmaster.
Yup, and the postmaster is designed to stop if it finds out that postmaster.pid is removed. See that: commit: 7e2a18a9161fee7e67642863f72b51d77d3e996f author: Tom Lane <[email protected]> date: Tue, 6 Oct 2015 17:15:52 -0400 Perform an immediate shutdown if the postmaster.pid file is removed -- Michael -- Sent via pgsql-general mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
