forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita88a18b
committed
Assert only valid flag bits are passed to visibilitymap_set()
If visibilitymap_set() is called with flags containing a higher bit thanVISIBILITYMAP_ALL_FROZEN, the state of neighboring pages is affected. Whilethere was an assertion that *some* valid bits were set, it did not checkthat *only* valid bits were. Change that.Discussion:https://postgr.es/m/20230331043300.gux3s5wzrapqi4oe@awork3.anarazel.de1 parent14f98e0 commita88a18b
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
259 | 259 |
| |
260 | 260 |
| |
261 | 261 |
| |
| 262 | + | |
262 | 263 |
| |
263 | 264 |
| |
264 |
| - | |
265 | 265 |
| |
266 | 266 |
| |
267 | 267 |
| |
|
0 commit comments
Comments
(0)