Re: BUG #14143: stop database with -m immediate cause fatal message log when database start - Mailing list pgsql-bugs

From Kevin Grittner
Subject Re: BUG #14143: stop database with -m immediate cause fatal message log when database start
Date
Msg-id CACjxUsPQCm+ub0XssNcMWJquM4HohxhXwBRhe=bbFUKx23W0Nw@mail.gmail.com
Whole thread Raw
In response to BUG #14143: stop database with -m immediate cause fatal message log when database start  (marc47marc47@gmail.com)
List pgsql-bugs
On Tue, May 17, 2016 at 12:14 AM,  <marc47marc47@gmail.com> wrote:

> The database start with FATAL message when I try to stop the database with
> immediate.

That is not a bug; stop immediate forces a crash of the service, and
crash recovery is needed when the service is started again.

> I assume that FATAL, is a critical error log, it should be an warning
> only.

FATAL means the connection involved was broken.  It was.  More than
that, though, you should pretty much never use stop immediate unless
the building is on fire (literally) or you don't plan to keep the
cluster after it is stopped.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: marc47marc47@gmail.com
Date:
Subject: BUG #14143: stop database with -m immediate cause fatal message log when database start
Next
From: door@bouwsoft.com
Date:
Subject: BUG #14144: 8.4 version no longer available