pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdown c - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdown c
Date
Msg-id E1TDJyz-0006VB-F4@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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 recovery - a shutdown checkpoint WAL record is written but the buffer
manager had been altered to treat end of recovery as a normal checkpoint.
This bug exacerbates the bufmgr relpersistence bug.

Bug spotted by Andres Freund, patch by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/64e196b6efbd58893a4381013a35c84b167b4856

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Kevin Grittner
Date:
Subject: pgsql: Fix documentation reference to maximum allowed for autovacuum_fr
Next
From: Simon Riggs
Date:
Subject: pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdown c