forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit715f44b
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 parentff61dd2 commit715f44b
2 files changed
+11
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6530 | 6530 |
| |
6531 | 6531 |
| |
6532 | 6532 |
| |
| 6533 | + | |
| 6534 | + | |
| 6535 | + | |
| 6536 | + | |
| 6537 | + | |
| 6538 | + | |
6533 | 6539 |
| |
6534 | 6540 |
| |
6535 | 6541 |
| |
| |||
6696 | 6702 |
| |
6697 | 6703 |
| |
6698 | 6704 |
| |
6699 |
| - | |
6700 |
| - | |
| 6705 | + | |
| 6706 | + | |
| 6707 | + | |
6701 | 6708 |
| |
6702 | 6709 |
| |
6703 | 6710 |
| |
| |||
7238 | 7245 |
| |
7239 | 7246 |
| |
7240 | 7247 |
| |
7241 |
| - | |
| 7248 | + | |
7242 | 7249 |
| |
7243 | 7250 |
| |
7244 | 7251 |
| |
|
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)