Avoid special XID snapshotConflictHorizon values.
Peter Geoghegan <pg@bowt.ie>
Avoid special XID snapshotConflictHorizon values. Don't allow VACUUM to WAL-log the value FrozenTransactionId as the snapshotConflictHorizon of freezing or visibility map related WAL records. The only special XID value that's an allowable snapshotConflictHorizon is InvalidTransactionId, which is interpreted as "record definitely doesn't require a recovery conflict". Author: Peter Geoghegan <pg@bowt.ie> Discussion: https://postgr.es/m/CAH2-WznuNGSzF8v6OsgjaC5aYsb3cZ6HW6MLm30X0d65cmSH6A@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/vacuumlazy.c | modified | +5 −3 |
| src/backend/storage/ipc/standby.c | modified | +1 −0 |
Discussion
- Fixing a couple of buglets in how VACUUM sets visibility map bits 22 messages · 2023-01-01 → 2023-01-12