Assert only valid flag bits are passed to visibilitymap_set()
Andres Freund <andres@anarazel.de>
Assert only valid flag bits are passed to visibilitymap_set() If visibilitymap_set() is called with flags containing a higher bit than VISIBILITYMAP_ALL_FROZEN, the state of neighboring pages is affected. While there was an assertion that *some* valid bits were set, it did not check that *only* valid bits were. Change that. Discussion: https://postgr.es/m/20230331043300.gux3s5wzrapqi4oe@awork3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/visibilitymap.c | modified | +1 −1 |
Discussion
- Minimal logical decoding on standbys 360 messages · 2018-12-12 → 2023-04-12