pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdown c

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdown c
Дата
Msg-id E1TDK0X-0006Zh-B3@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/25560fdeb26f75b50793a56f69f64daab4ad586e

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdown c
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Rethink heuristics for choosing index quals for parameterized pa