forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4f9f495
committed
Fix crash bug in RestoreSnapshot.
If serialized_snapshot->subxcnt > 0 and serialized_snapshot->xcnt == 0,the old coding would do the wrong thing and crash. This can happenon standby servers.Report by Andreas Seltenreich. Patch by Thomas Munro, reviewed byAmit Kapila and tested by Andreas Seltenreich.1 parent10c0558 commit4f9f495
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2016 | 2016 |
| |
2017 | 2017 |
| |
2018 | 2018 |
| |
2019 |
| - | |
| 2019 | + | |
| 2020 | + | |
2020 | 2021 |
| |
2021 | 2022 |
| |
2022 | 2023 |
| |
|
0 commit comments
Comments
(0)