pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Perform a lot more sanity checks when freezing tuples. 6+ messages / 1 participants [nested] [flat]
* pgsql: Perform a lot more sanity checks when freezing tuples. @ 2017-12-15 02:28 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2017-12-15 02:28 UTC (permalink / raw) To: pgsql-committers Perform a lot more sanity checks when freezing tuples. The previous commit has shown that the sanity checks around freezing aren't strong enough. Strengthening them seems especially important because the existance of the bug has caused corruption that we don't want to make even worse during future vacuum cycles. The errors are emitted with ereport rather than elog, despite being "should never happen" messages, so a proper error code is emitted. To avoid superflous translations, mark messages as internal. Author: Andres Freund and Alvaro Herrera Reviewed-By: Alvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/20171102112019.33wb7g5wp4zpjelu@alap3.anarazel.de Backpatch: 9.3- Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/699bf7d05c68734f800052829427c20674eb2c6b Modified Files -------------- src/backend/access/heap/heapam.c | 112 ++++++++++++++++++++++++++++------ src/backend/access/heap/rewriteheap.c | 5 +- src/backend/commands/vacuumlazy.c | 15 ++++- src/include/access/heapam.h | 5 +- src/include/access/heapam_xlog.h | 2 + 5 files changed, 114 insertions(+), 25 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Perform a lot more sanity checks when freezing tuples. @ 2017-12-15 02:28 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2017-12-15 02:28 UTC (permalink / raw) To: pgsql-committers Perform a lot more sanity checks when freezing tuples. The previous commit has shown that the sanity checks around freezing aren't strong enough. Strengthening them seems especially important because the existance of the bug has caused corruption that we don't want to make even worse during future vacuum cycles. The errors are emitted with ereport rather than elog, despite being "should never happen" messages, so a proper error code is emitted. To avoid superflous translations, mark messages as internal. Author: Andres Freund and Alvaro Herrera Reviewed-By: Alvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/20171102112019.33wb7g5wp4zpjelu@alap3.anarazel.de Backpatch: 9.3- Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d3044f8b0732d369ad255c9268e2feb42acae2a0 Modified Files -------------- src/backend/access/heap/heapam.c | 112 ++++++++++++++++++++++++++++------ src/backend/access/heap/rewriteheap.c | 5 +- src/backend/commands/vacuumlazy.c | 15 ++++- src/include/access/heapam.h | 5 +- src/include/access/heapam_xlog.h | 2 + 5 files changed, 114 insertions(+), 25 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Perform a lot more sanity checks when freezing tuples. @ 2017-12-15 02:28 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2017-12-15 02:28 UTC (permalink / raw) To: pgsql-committers Perform a lot more sanity checks when freezing tuples. The previous commit has shown that the sanity checks around freezing aren't strong enough. Strengthening them seems especially important because the existance of the bug has caused corruption that we don't want to make even worse during future vacuum cycles. The errors are emitted with ereport rather than elog, despite being "should never happen" messages, so a proper error code is emitted. To avoid superflous translations, mark messages as internal. Author: Andres Freund and Alvaro Herrera Reviewed-By: Alvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/20171102112019.33wb7g5wp4zpjelu@alap3.anarazel.de Backpatch: 9.3- Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/986a9153b9708071adf6ce2c9131266f3431f4ec Modified Files -------------- src/backend/access/heap/heapam.c | 112 ++++++++++++++++++++++++++++------ src/backend/access/heap/rewriteheap.c | 5 +- src/backend/commands/vacuumlazy.c | 15 ++++- src/include/access/heapam.h | 5 +- src/include/access/heapam_xlog.h | 2 + 5 files changed, 114 insertions(+), 25 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Perform a lot more sanity checks when freezing tuples. @ 2017-12-15 02:28 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2017-12-15 02:28 UTC (permalink / raw) To: pgsql-committers Perform a lot more sanity checks when freezing tuples. The previous commit has shown that the sanity checks around freezing aren't strong enough. Strengthening them seems especially important because the existance of the bug has caused corruption that we don't want to make even worse during future vacuum cycles. The errors are emitted with ereport rather than elog, despite being "should never happen" messages, so a proper error code is emitted. To avoid superflous translations, mark messages as internal. Author: Andres Freund and Alvaro Herrera Reviewed-By: Alvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/20171102112019.33wb7g5wp4zpjelu@alap3.anarazel.de Backpatch: 9.3- Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/94d1c88103ff17fde7da20b98446ed6150170487 Modified Files -------------- src/backend/access/heap/heapam.c | 128 +++++++++++++++++++++++++++------- src/backend/access/heap/rewriteheap.c | 5 +- src/backend/commands/vacuumlazy.c | 15 +++- src/include/access/heapam.h | 5 +- src/include/access/heapam_xlog.h | 2 + 5 files changed, 123 insertions(+), 32 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Perform a lot more sanity checks when freezing tuples. @ 2017-12-15 02:28 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2017-12-15 02:28 UTC (permalink / raw) To: pgsql-committers Perform a lot more sanity checks when freezing tuples. The previous commit has shown that the sanity checks around freezing aren't strong enough. Strengthening them seems especially important because the existance of the bug has caused corruption that we don't want to make even worse during future vacuum cycles. The errors are emitted with ereport rather than elog, despite being "should never happen" messages, so a proper error code is emitted. To avoid superflous translations, mark messages as internal. Author: Andres Freund and Alvaro Herrera Reviewed-By: Alvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/20171102112019.33wb7g5wp4zpjelu@alap3.anarazel.de Backpatch: 9.3- Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ed8e1aff6acef475eb33e0212253df05cb2d4d20 Modified Files -------------- src/backend/access/heap/heapam.c | 122 +++++++++++++++++++++++++++++----- src/backend/access/heap/rewriteheap.c | 5 +- src/backend/commands/vacuumlazy.c | 15 ++++- src/include/access/heapam.h | 5 +- src/include/access/heapam_xlog.h | 2 + 5 files changed, 126 insertions(+), 23 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Perform a lot more sanity checks when freezing tuples. @ 2017-12-15 02:28 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2017-12-15 02:28 UTC (permalink / raw) To: pgsql-committers Perform a lot more sanity checks when freezing tuples. The previous commit has shown that the sanity checks around freezing aren't strong enough. Strengthening them seems especially important because the existance of the bug has caused corruption that we don't want to make even worse during future vacuum cycles. The errors are emitted with ereport rather than elog, despite being "should never happen" messages, so a proper error code is emitted. To avoid superflous translations, mark messages as internal. Author: Andres Freund and Alvaro Herrera Reviewed-By: Alvaro Herrera, Michael Paquier Discussion: https://postgr.es/m/20171102112019.33wb7g5wp4zpjelu@alap3.anarazel.de Backpatch: 9.3- Branch ------ REL9_3_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4800f16a7ad08fe4145cdbbfedb9f63fdc282e28 Modified Files -------------- src/backend/access/heap/heapam.c | 133 ++++++++++++++++++++++++++++------ src/backend/access/heap/rewriteheap.c | 5 +- src/backend/commands/vacuumlazy.c | 15 +++- src/include/access/heapam.h | 5 +- src/include/access/heapam_xlog.h | 2 + 5 files changed, 132 insertions(+), 28 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2017-12-15 02:28 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2017-12-15 02:28 pgsql: Perform a lot more sanity checks when freezing tuples. Andres Freund <andres@anarazel.de> 2017-12-15 02:28 pgsql: Perform a lot more sanity checks when freezing tuples. Andres Freund <andres@anarazel.de> 2017-12-15 02:28 pgsql: Perform a lot more sanity checks when freezing tuples. Andres Freund <andres@anarazel.de> 2017-12-15 02:28 pgsql: Perform a lot more sanity checks when freezing tuples. Andres Freund <andres@anarazel.de> 2017-12-15 02:28 pgsql: Perform a lot more sanity checks when freezing tuples. Andres Freund <andres@anarazel.de> 2017-12-15 02:28 pgsql: Perform a lot more sanity checks when freezing tuples. Andres Freund <andres@anarazel.de>
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