mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
A buffer lock won't stop a reader having already checked tuple
visibility. If a vac_update_datfrozenid() and then a crash happened
during inplace update of a relfrozenxid value, datfrozenxid could
overtake relfrozenxid. That could lead to "could not access status of
transaction" errors. Back-patch to v12 (all supported versions). In
v14 and earlier, this also back-patches the assertion removal from
commit 7fcf2faf9c
.
Discussion: https://postgr.es/m/20240620012908.92.nmisch@google.com