diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-08-08 09:07:10 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-08-08 09:07:10 +0900 |
commit | 84b32fd2283090b2ab87dc38445d487e98e9e231 (patch) | |
tree | b9abf95cc09e9e764c0da2bf7e0abf04a094fc04 /src/backend/replication/logical/applyparallelworker.c | |
parent | 4ae03be5473417ba5850bb0c1f0e60c1a0998dc9 (diff) |
Add information about "generation" when dropping twice pgstats entryHEADorigin/masterorigin/HEADmaster
Dropping twice a pgstats entry should not happen, and the error report
generated was missing the "generation" counter (tracking when an entry
is reused) that has been added in 818119afccd3.
Like d92573adcb02, backpatch down to v15 where this information is
useful to have, to gather more information from instances where the
problem shows up. A report has shown that this error path has been
reached on a standby based on 17.3, for a relation stats entry and an
OID close to wraparound.
Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/CAN4RuQvYth942J2+FcLmJKgdpq6fE5eqyFvb_PuskxF2eL=Wzg@mail.gmail.com
Backpatch-through: 15
Diffstat (limited to 'src/backend/replication/logical/applyparallelworker.c')
0 files changed, 0 insertions, 0 deletions