forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0176f8b
committed
Fix incomplete backpatch of pg_multixact truncation changes to <= 9.2
The backpatch ofa95335b to 9.2, 9.1and 9.0 was incomplete, missing changes to xlog.c, primarily the callto TrimMultiXact(). Testing presumably didn't show a problem withoutthese changes because TrimMultiXact() performs defense-in-depth work,which is not strictly necessary.It also missed moving StartupMultiXact() which would have beenproblematic if a restartpoing happened in exactly the wrong moment,causing a transient error.Andres Freund1 parent559eb85 commit0176f8b
2 files changed
+11
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6308 | 6308 |
| |
6309 | 6309 |
| |
6310 | 6310 |
| |
| 6311 | + | |
| 6312 | + | |
| 6313 | + | |
| 6314 | + | |
| 6315 | + | |
| 6316 | + | |
6311 | 6317 |
| |
6312 | 6318 |
| |
6313 | 6319 |
| |
| |||
6453 | 6459 |
| |
6454 | 6460 |
| |
6455 | 6461 |
| |
6456 |
| - | |
6457 |
| - | |
| 6462 | + | |
| 6463 | + | |
| 6464 | + | |
6458 | 6465 |
| |
6459 | 6466 |
| |
6460 | 6467 |
| |
| |||
6966 | 6973 |
| |
6967 | 6974 |
| |
6968 | 6975 |
| |
6969 |
| - | |
| 6976 | + | |
6970 | 6977 |
| |
6971 | 6978 |
| |
6972 | 6979 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
| 62 | + | |
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
|
0 commit comments
Comments
(0)