forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit615299c
committed
Fix WAL-logging of setting the visibility map bit.
The operation that removes the remaining dead tuples from the page mustbe WAL-logged before the setting of the VM bit. Otherwise, if you replaythe WAL to between those two records, you end up with the VM bit set, butthe dead tuples are still there.Backpatch to 9.3, where this bug was introduced.1 parentb57947a commit615299c
1 file changed
+12
-15
lines changedLines changed: 12 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1185 | 1185 |
| |
1186 | 1186 |
| |
1187 | 1187 |
| |
1188 |
| - | |
1189 |
| - | |
1190 |
| - | |
1191 | 1188 |
| |
1192 | 1189 |
| |
1193 | 1190 |
| |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
1194 | 1203 |
| |
1195 | 1204 |
| |
1196 | 1205 |
| |
| |||
1204 | 1213 |
| |
1205 | 1214 |
| |
1206 | 1215 |
| |
1207 |
| - | |
1208 |
| - | |
1209 |
| - | |
1210 |
| - | |
1211 |
| - | |
1212 |
| - | |
1213 |
| - | |
1214 |
| - | |
1215 |
| - | |
1216 |
| - | |
1217 |
| - | |
1218 |
| - | |
1219 | 1216 |
| |
1220 | 1217 |
| |
1221 | 1218 |
| |
|
0 commit comments
Comments
(0)