forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5a2c184
committed
Fix xmin/xmax horizon computation during logical decoding initialization.
When building the initial historic catalog snapshot there werescenarios where snapbuild.c would use incorrect xmin/xmax values whenstarting from a xl_running_xacts record. The values used were always abit suspect, but happened to be correct in the easy to testcases. Notably the values used when the the initial snapshot wascomputed while no other transactions were running were correct.This is likely to be the cause of the occasional buildfarm failures onanimals markhor and tick; but it's quite possible to reproduceproblems without CLOBBER_CACHE_ALWAYS.Backpatch to 9.4, where logical decoding was introduced.1 parent81c4508 commit5a2c184
1 file changed
+13
-7
lines changedLines changed: 13 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
| |||
1250 | 1250 |
| |
1251 | 1251 |
| |
1252 | 1252 |
| |
1253 |
| - | |
1254 |
| - | |
1255 |
| - | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1256 | 1256 |
| |
| 1257 | + | |
1257 | 1258 |
| |
1258 | 1259 |
| |
1259 | 1260 |
| |
| |||
1294 | 1295 |
| |
1295 | 1296 |
| |
1296 | 1297 |
| |
1297 |
| - | |
1298 |
| - | |
1299 |
| - | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
1300 | 1306 |
| |
1301 | 1307 |
| |
1302 | 1308 |
| |
|
0 commit comments
Comments
(0)