Re: SIGTERM/FATAL error - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SIGTERM/FATAL error
Date
Msg-id 23365.984358154@sss.pgh.pa.us
Whole thread Raw
In response to SIGTERM/FATAL error  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: SIGTERM/FATAL error  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: SIGTERM/FATAL error  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I have applied the following patch to make SIGTERM backend exit clearer
> in the the server logs.  "The system" is not really shutting down, but
> "the backend" is shutting down.

This is a non-improvement.  Please reverse it.  SIGTERM would only be
sent to a backend if the database system were in fact shutting down.

> Should we be showing the PID's in the server logs more.  Do we need to
> enable that somewhere?

There's already an option for that, but it should not be forced on since
it will be redundant for those using syslog.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Franck Martin
Date:
Subject: RE: doxygen & PG
Next
From: Bruce Momjian
Date:
Subject: Re: SIGTERM/FATAL error