Re: StartupCLOG - Mailing list pgsql-hackers

From Tom Lane
Subject Re: StartupCLOG
Date
Msg-id 23072.1220541162@sss.pgh.pa.us
Whole thread Raw
In response to StartupCLOG  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: StartupCLOG  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> I notice that StartupCLOG zeroes out entries later than the nextxid when
> we complete recovery in StartupXLOG, reason given is safety in case we
> crash.

> ISTM that we should also do that whenever we see a Shutdown Checkpoint
> in WAL, since that can be caused by a shutdown immediate, shutdown abort
> or crash.

Er, what?  The definition of a crash is the *lack* of a shutdown
checkpoint.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [PATCH] Cleanup of GUC units code
Next
From: Andrew Sullivan
Date:
Subject: Re: [PATCH] Cleanup of GUC units code