Commit 6daeeb1
committed
Avoid special XID snapshotConflictHorizon values.
Don't allow VACUUM to WAL-log the value FrozenTransactionId as the
snapshotConflictHorizon of freezing or visibility map related WAL
records.
The only special XID value that's an allowable snapshotConflictHorizon
is InvalidTransactionId, which is interpreted as "record definitely
doesn't require a recovery conflict".
Author: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/CAH2-WznuNGSzF8v6OsgjaC5aYsb3cZ6HW6MLm30X0d65cmSH6A@mail.gmail.com1 parent 1fd3dd2 commit 6daeeb1
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1698 | 1698 | | |
1699 | 1699 | | |
1700 | 1700 | | |
1701 | | - | |
| 1701 | + | |
| 1702 | + | |
1702 | 1703 | | |
1703 | 1704 | | |
1704 | 1705 | | |
| |||
1863 | 1864 | | |
1864 | 1865 | | |
1865 | 1866 | | |
1866 | | - | |
| 1867 | + | |
1867 | 1868 | | |
1868 | 1869 | | |
1869 | 1870 | | |
| |||
3293 | 3294 | | |
3294 | 3295 | | |
3295 | 3296 | | |
3296 | | - | |
| 3297 | + | |
| 3298 | + | |
3297 | 3299 | | |
3298 | 3300 | | |
3299 | 3301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
496 | 497 | | |
497 | 498 | | |
498 | 499 | | |
| |||
0 commit comments