aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2017-11-13 18:45:47 -0800
committerAndres Freund <andres@anarazel.de>2017-12-14 18:20:48 -0800
commitd3044f8b0732d369ad255c9268e2feb42acae2a0 (patch)
tree40f87d3f9ffcc31a3772503d4d1141dffa2cbc36 /src/backend/access/transam/xlog.c
parent1224383e85eee580a838ff1abf1fdb03ced973dc (diff)
downloadpostgresql-d3044f8b0732d369ad255c9268e2feb42acae2a0.tar.gz
postgresql-d3044f8b0732d369ad255c9268e2feb42acae2a0.zip
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-
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions