pgsql: Update minimum recovery point on truncation.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Update minimum recovery point on truncation.
Дата
Msg-id E1Ti6Gk-0002Mq-2D@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Update minimum recovery point on truncation.

If a file is truncated, we must update minRecoveryPoint. Once a file is
truncated, there's no going back; it would not be safe to stop recovery
at a point earlier than that anymore.

Per report from Kyotaro HORIGUCHI. Backpatch to 8.4. Before that,
minRecoveryPoint was not updated during recovery at all.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/172d067618cc80b515a7ae89fd6a38e29e71a720

Modified Files
--------------
src/backend/access/transam/xact.c |   43 +++++++++++++++++++++++++++---------
src/backend/catalog/storage.c     |   18 +++++++++++++++
2 files changed, 50 insertions(+), 11 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Update minimum recovery point on truncation.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Remove blastwave.org link