Re: Shutdown TRUE? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Shutdown TRUE?
Date
Msg-id 3227.1001015556@sss.pgh.pa.us
Whole thread Raw
In response to Shutdown TRUE?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Shutdown TRUE?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> When the server starts I see something like
> DEBUG:  redo record is at 0/146ED4; undo record is at 0/0; shutdown TRUE

> but what does "shutdown TRUE" mean?  It doesn't mean "I'm shutting down"
> nor "the last shutdown was successful", so it's not very obvious.

It means the latest checkpoint record in the WAL log has the shutdown bit
set, implying that there was an intentional shutdown.  This should be
redundant with the control-file-state-field info that's reported a line
or two earlier --- but I suppose it would be interesting for debugging
if it didn't agree.

Feel free to change the message wording...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: PostgreSQL funding/organization
Next
From: Thomas Lockhart
Date:
Subject: cvsup trouble