Re: Checkpoints vs restartpoints - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Checkpoints vs restartpoints
Date
Msg-id CAB7nPqSfhFqYsHweiOHdK6EieL+=R-AS4orh9LsWe=R6aTgTrA@mail.gmail.com
Whole thread Raw
In response to Re: Checkpoints vs restartpoints  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Wed, Jun 10, 2015 at 9:33 AM, Bruce Momjian wrote:
> Ah, so even thought standbys don't have to write WAL, they are fsyncing
> shared buffers.  Where is the restart point recorded, in pg_controldata?
> c

Yep. Latest checkpoint's REDO location, or
ControlFile->checkPointCopy.redo. During recovery, a copy is kept as
well in XLogCtlData.lastCheckPoint.
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pg_archivecleanup bug (invalid filename input)
Next
From: Robert Haas
Date:
Subject: Re: Run pgindent now?