- Notifications
You must be signed in to change notification settings - Fork5
Commitcf8dc9e
committed
Fix checksums for CLUSTER, VACUUM FULL etc.
In CLUSTER, VACUUM FULL and ALTER TABLE SET TABLESPACEI erroneously set checksum before log_newpage, whichsets the LSN and invalidates the checksum. So setchecksum immediately *after* log_newpage.Bug report Fujii Masao, Fix and patch by Jeff Davis1 parent7844608 commitcf8dc9e
2 files changed
+17
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
277 | | - | |
278 | 276 | | |
279 | 277 | | |
280 | 278 | | |
281 | 279 | | |
282 | 280 | | |
283 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
| |||
616 | 617 | | |
617 | 618 | | |
618 | 619 | | |
619 | | - | |
620 | | - | |
621 | 620 | | |
622 | 621 | | |
623 | 622 | | |
| |||
632 | 631 | | |
633 | 632 | | |
634 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
635 | 637 | | |
636 | 638 | | |
637 | 639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
8902 | 8903 | | |
8903 | 8904 | | |
8904 | 8905 | | |
8905 | | - | |
| 8906 | + | |
| 8907 | + | |
| 8908 | + | |
| 8909 | + | |
| 8910 | + | |
| 8911 | + | |
| 8912 | + | |
| 8913 | + | |
8906 | 8914 | | |
8907 | 8915 | | |
8908 | 8916 | | |
8909 | 8917 | | |
8910 | 8918 | | |
| 8919 | + | |
| 8920 | + | |
8911 | 8921 | | |
8912 | 8922 | | |
8913 | 8923 | | |
| |||
0 commit comments
Comments
(0)