- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit2776922
committed
Assert in init_toast_snapshot() that some snapshot registered or active.
Commit <FIXME> fixed the bug that RemoveTempRelationsCallback() did notpush/register a snapshot. That only went unnoticed because often a validcatalog snapshot exists and is returned by GetOldestSnapshot(). But due toinvalidation processing that is not reliable.Thus assert in init_toast_snapshot() that there is a registered or activesnapshot, using the new HaveRegisteredOrActiveSnapshot().Author: Andres FreundDiscussion:https://postgr.es/m/20220219180002.6tubjq7iw7m52bgd@alap3.anarazel.de1 parent7c38ef2 commit2776922
File tree
3 files changed
+36
-0
lines changed- src
- backend
- access/common
- utils/time
- include/utils
3 files changed
+36
-0
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
660 | 660 |
| |
661 | 661 |
| |
662 | 662 |
| |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
663 | 672 |
| |
664 | 673 |
|
Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1625 | 1625 |
| |
1626 | 1626 |
| |
1627 | 1627 |
| |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
1628 | 1654 |
| |
1629 | 1655 |
| |
1630 | 1656 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
| 138 | + | |
138 | 139 |
| |
139 | 140 |
| |
140 | 141 |
| |
|
0 commit comments
Comments
(0)