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
------
REL8_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/7e0d8d8457d922a63292c39862738969cac6c418
Modified Files
--------------
src/backend/access/transam/xact.c | 40 +++++++++++++++++++++++++++---------
src/backend/catalog/storage.c | 18 ++++++++++++++++
2 files changed, 48 insertions(+), 10 deletions(-)
pgsql-committers by date
| Next: | From: Peter Eisentraut | Date: 2012-12-11 03:41:24 |
| Subject: pgsql: doc: Remove blastwave.org link |
| Previous: | From: Heikki Linnakangas | Date: 2012-12-10 16:31:49 |
| Subject: pgsql: Update minimum recovery point on truncation. |