Re: [HACKERS] [COMMITTERS] pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdown c

2012-09-19 Thread Andres Freund
On Tuesday, September 18, 2012 04:18:01 AM Robert Haas wrote: Maybe what we should do is - if this is an end-of-recovery checkpoint - *assert* that the BM_PERMANENT bit is set on every buffer we find. That would provide a useful cross-check that we don't have a bug similar to the one Jeff

Re: [HACKERS] [COMMITTERS] pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdown c

2012-09-17 Thread Andres Freund
On Monday, September 17, 2012 04:59:06 PM Robert Haas wrote: On Sun, Sep 16, 2012 at 2:54 PM, Simon Riggs si...@2ndquadrant.com wrote: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdown checkpoint. Recovery code documents clearly that a shutdown checkpoint is executed at end of