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 ------ master Details ------- http://git.postgresql.org/pg/commitdiff/7bffc9b7bf9e09ddeddc65117e49829f758e500d Modified Files -------------- src/backend/access/transam/xact.c | 43 +++++++++++++++++++++++++++--------- src/backend/catalog/storage.c | 18 +++++++++++++++ 2 files changed, 50 insertions(+), 11 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
