forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3fdf649
committed
Fix failure to guarantee that a checkpoint will write out pg_clog updates
for transaction commits that occurred just before the checkpoint. This isan EXTREMELY serious bug --- kudos to Satoshi Okada for creating areproducible test case to prove its existence.1 parentbc8a1fc commit3fdf649
3 files changed
+45
-8
lines changedLines changed: 25 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
574 | 574 |
| |
575 | 575 |
| |
576 | 576 |
| |
577 |
| - | |
578 |
| - | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
579 | 585 |
| |
580 | 586 |
| |
581 |
| - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
582 | 590 |
| |
583 | 591 |
| |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
584 | 599 |
| |
585 | 600 |
| |
586 | 601 |
| |
| |||
668 | 683 |
| |
669 | 684 |
| |
670 | 685 |
| |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
671 | 690 |
| |
672 | 691 |
| |
673 | 692 |
| |
| |||
850 | 869 |
| |
851 | 870 |
| |
852 | 871 |
| |
| 872 | + | |
| 873 | + | |
853 | 874 |
| |
854 | 875 |
| |
855 | 876 |
| |
|
Lines changed: 18 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
4699 | 4699 |
| |
4700 | 4700 |
| |
4701 | 4701 |
| |
| 4702 | + | |
| 4703 | + | |
| 4704 | + | |
| 4705 | + | |
| 4706 | + | |
| 4707 | + | |
| 4708 | + | |
| 4709 | + | |
| 4710 | + | |
4702 | 4711 |
| |
4703 | 4712 |
| |
4704 | 4713 |
| |
| |||
4731 | 4740 |
| |
4732 | 4741 |
| |
4733 | 4742 |
| |
| 4743 | + | |
4734 | 4744 |
| |
4735 | 4745 |
| |
4736 | 4746 |
| |
| |||
4789 | 4799 |
| |
4790 | 4800 |
| |
4791 | 4801 |
| |
| 4802 | + | |
| 4803 | + | |
| 4804 | + | |
4792 | 4805 |
| |
4793 | 4806 |
| |
4794 | 4807 |
| |
| |||
4798 | 4811 |
| |
4799 | 4812 |
| |
4800 | 4813 |
| |
4801 |
| - | |
4802 |
| - | |
| 4814 | + | |
| 4815 | + | |
4803 | 4816 |
| |
4804 | 4817 |
| |
4805 | 4818 |
| |
| 4819 | + | |
| 4820 | + | |
4806 | 4821 |
| |
4807 | 4822 |
| |
4808 | 4823 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| 39 | + | |
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
|
0 commit comments
Comments
(0)