pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Update minimum recovery point on truncation. 12+ messages / 2 participants [nested] [flat]
* pgsql: Update minimum recovery point on truncation. @ 2012-12-10 16:31 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 12+ messages in thread From: Heikki Linnakangas @ 2012-12-10 16:31 UTC (permalink / raw) To: 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 ------ 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 (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation. @ 2012-12-10 16:31 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 12+ messages in thread From: Heikki Linnakangas @ 2012-12-10 16:31 UTC (permalink / raw) To: 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_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/fbe285ae83628cf73a8e1ad04873a4a4b7ce56d3 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 (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation. @ 2012-12-10 16:31 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 12+ messages in thread From: Heikki Linnakangas @ 2012-12-10 16:31 UTC (permalink / raw) To: 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_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/9ba0361f099e1d9827e9da1df95652d83ac8b973 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 (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation. @ 2012-12-10 16:31 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 12+ messages in thread From: Heikki Linnakangas @ 2012-12-10 16:31 UTC (permalink / raw) To: 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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation. @ 2012-12-10 16:31 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 12+ messages in thread From: Heikki Linnakangas @ 2012-12-10 16:31 UTC (permalink / raw) To: 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 ------ 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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation during WAL replay of @ 2021-07-28 16:37 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 12+ messages in thread From: Fujii Masao @ 2021-07-28 16:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Update minimum recovery point on truncation during WAL replay of abort record. 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. Commit 7bffc9b7bf changed xact_redo_commit() so that it updates minRecoveryPoint on truncation, but forgot to change xact_redo_abort(). Back-patch to all supported versions. Reported-by: mengjuan.cmj@alibaba-inc.com Author: Fujii Masao Reviewed-by: Heikki Linnakangas Discussion: https://postgr.es/m/b029fce3-4fac-4265-968e-16f36ff4d075.mengjuan.cmj@alibaba-inc.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a00c138b78521b9bc68b480490a8d601ecdeb816 Modified Files -------------- src/backend/access/transam/xact.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation during WAL replay of @ 2021-07-28 16:37 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 12+ messages in thread From: Fujii Masao @ 2021-07-28 16:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Update minimum recovery point on truncation during WAL replay of abort record. 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. Commit 7bffc9b7bf changed xact_redo_commit() so that it updates minRecoveryPoint on truncation, but forgot to change xact_redo_abort(). Back-patch to all supported versions. Reported-by: mengjuan.cmj@alibaba-inc.com Author: Fujii Masao Reviewed-by: Heikki Linnakangas Discussion: https://postgr.es/m/b029fce3-4fac-4265-968e-16f36ff4d075.mengjuan.cmj@alibaba-inc.com Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f2a3d7404e5d4aa17dbdf7299b1f0d548fe59b9d Modified Files -------------- src/backend/access/transam/xact.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation during WAL replay of @ 2021-07-28 16:37 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 12+ messages in thread From: Fujii Masao @ 2021-07-28 16:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Update minimum recovery point on truncation during WAL replay of abort record. 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. Commit 7bffc9b7bf changed xact_redo_commit() so that it updates minRecoveryPoint on truncation, but forgot to change xact_redo_abort(). Back-patch to all supported versions. Reported-by: mengjuan.cmj@alibaba-inc.com Author: Fujii Masao Reviewed-by: Heikki Linnakangas Discussion: https://postgr.es/m/b029fce3-4fac-4265-968e-16f36ff4d075.mengjuan.cmj@alibaba-inc.com Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a66b05b422d74111f2a6407108f4ba7bdddbb6a0 Modified Files -------------- src/backend/access/transam/xact.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation during WAL replay of @ 2021-07-28 16:37 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 12+ messages in thread From: Fujii Masao @ 2021-07-28 16:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Update minimum recovery point on truncation during WAL replay of abort record. 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. Commit 7bffc9b7bf changed xact_redo_commit() so that it updates minRecoveryPoint on truncation, but forgot to change xact_redo_abort(). Back-patch to all supported versions. Reported-by: mengjuan.cmj@alibaba-inc.com Author: Fujii Masao Reviewed-by: Heikki Linnakangas Discussion: https://postgr.es/m/b029fce3-4fac-4265-968e-16f36ff4d075.mengjuan.cmj@alibaba-inc.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d7ded08e6e0e565adf6fea7c55bfcf2845e5f8cc Modified Files -------------- src/backend/access/transam/xact.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation during WAL replay of @ 2021-07-28 16:38 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 12+ messages in thread From: Fujii Masao @ 2021-07-28 16:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Update minimum recovery point on truncation during WAL replay of abort record. 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. Commit 7bffc9b7bf changed xact_redo_commit() so that it updates minRecoveryPoint on truncation, but forgot to change xact_redo_abort(). Back-patch to all supported versions. Reported-by: mengjuan.cmj@alibaba-inc.com Author: Fujii Masao Reviewed-by: Heikki Linnakangas Discussion: https://postgr.es/m/b029fce3-4fac-4265-968e-16f36ff4d075.mengjuan.cmj@alibaba-inc.com Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/02ef4d1e24b5868e4dd3110cd258aa2ca08527f2 Modified Files -------------- src/backend/access/transam/xact.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation during WAL replay of @ 2021-07-28 16:38 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 12+ messages in thread From: Fujii Masao @ 2021-07-28 16:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Update minimum recovery point on truncation during WAL replay of abort record. 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. Commit 7bffc9b7bf changed xact_redo_commit() so that it updates minRecoveryPoint on truncation, but forgot to change xact_redo_abort(). Back-patch to all supported versions. Reported-by: mengjuan.cmj@alibaba-inc.com Author: Fujii Masao Reviewed-by: Heikki Linnakangas Discussion: https://postgr.es/m/b029fce3-4fac-4265-968e-16f36ff4d075.mengjuan.cmj@alibaba-inc.com Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/25fe5b2bb5fa35dfa05cb159216f3059540ba928 Modified Files -------------- src/backend/access/transam/xact.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 12+ messages in thread
* pgsql: Update minimum recovery point on truncation during WAL replay of @ 2021-07-28 16:38 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 12+ messages in thread From: Fujii Masao @ 2021-07-28 16:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Update minimum recovery point on truncation during WAL replay of abort record. 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. Commit 7bffc9b7bf changed xact_redo_commit() so that it updates minRecoveryPoint on truncation, but forgot to change xact_redo_abort(). Back-patch to all supported versions. Reported-by: mengjuan.cmj@alibaba-inc.com Author: Fujii Masao Reviewed-by: Heikki Linnakangas Discussion: https://postgr.es/m/b029fce3-4fac-4265-968e-16f36ff4d075.mengjuan.cmj@alibaba-inc.com Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/32d182dd0da9628a4bc1515b69694d6e361a8de4 Modified Files -------------- src/backend/access/transam/xact.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 12+ messages in thread
end of thread, other threads:[~2021-07-28 16:38 UTC | newest] Thread overview: 12+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2012-12-10 16:31 pgsql: Update minimum recovery point on truncation. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2012-12-10 16:31 pgsql: Update minimum recovery point on truncation. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2012-12-10 16:31 pgsql: Update minimum recovery point on truncation. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2012-12-10 16:31 pgsql: Update minimum recovery point on truncation. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2012-12-10 16:31 pgsql: Update minimum recovery point on truncation. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-07-28 16:37 pgsql: Update minimum recovery point on truncation during WAL replay of Fujii Masao <fujii@postgresql.org> 2021-07-28 16:37 pgsql: Update minimum recovery point on truncation during WAL replay of Fujii Masao <fujii@postgresql.org> 2021-07-28 16:37 pgsql: Update minimum recovery point on truncation during WAL replay of Fujii Masao <fujii@postgresql.org> 2021-07-28 16:37 pgsql: Update minimum recovery point on truncation during WAL replay of Fujii Masao <fujii@postgresql.org> 2021-07-28 16:38 pgsql: Update minimum recovery point on truncation during WAL replay of Fujii Masao <fujii@postgresql.org> 2021-07-28 16:38 pgsql: Update minimum recovery point on truncation during WAL replay of Fujii Masao <fujii@postgresql.org> 2021-07-28 16:38 pgsql: Update minimum recovery point on truncation during WAL replay of Fujii Masao <fujii@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox