Skip site navigation (1) Skip section navigation (2)

pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdownc

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdownc
Date: 2012-09-16 18:54:17
Message-ID: E1TDJyz-0006VB-F4@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
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(-)

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2012-09-16 19:58:59
Subject: Re: _FORTIFY_SOURCE by default?
Previous:From: Peter EisentrautDate: 2012-09-16 18:34:56
Subject: Re: _FORTIFY_SOURCE by default?

pgsql-committers by date

Next:From: Simon RiggsDate: 2012-09-16 18:55:04
Subject: pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdownc
Previous:From: Kevin GrittnerDate: 2012-09-16 17:33:43
Subject: pgsql: Fix documentation reference to maximum allowed forautovacuum_fr

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group