forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1c72d0d
committed
Fix relcache to account properly for subtransaction status of 'new'
relcache entries. Also, change TransactionIdIsCurrentTransactionId()so that if consulted during transaction abort, it will not say thatthe aborted xact is still current. (It would be better to ensure thatit's never called at all during abort, but I'm not sure we can easilyguarantee that.) In combination, these fix a crash we have seenoccasionally during parallel regression tests of 8.0.1 parentf900af7 commit1c72d0d
File tree
7 files changed
+132
-55
lines changed- src
- backend
- access
- hash
- heap
- nbtree
- transam
- utils/cache
- include/utils
7 files changed
+132
-55
lines changedLines changed: 6 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
53 | 51 |
| |
54 |
| - | |
| 52 | + | |
55 | 53 |
| |
56 | 54 |
| |
57 | 55 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
232 | 232 |
| |
233 | 233 |
| |
234 | 234 |
| |
235 |
| - | |
| 235 | + | |
236 | 236 |
| |
237 | 237 |
| |
238 | 238 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
483 | 483 |
| |
484 | 484 |
| |
485 | 485 |
| |
486 |
| - | |
| 486 | + | |
487 | 487 |
| |
488 | 488 |
| |
489 | 489 |
| |
|
Lines changed: 13 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| 43 | + | |
43 | 44 |
| |
44 | 45 |
| |
45 | 46 |
| |
| |||
352 | 353 |
| |
353 | 354 |
| |
354 | 355 |
| |
355 |
| - | |
| 356 | + | |
356 | 357 |
| |
357 | 358 |
| |
358 | 359 |
| |
| |||
363 | 364 |
| |
364 | 365 |
| |
365 | 366 |
| |
366 |
| - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
367 | 370 |
| |
368 |
| - | |
| 371 | + | |
369 | 372 |
| |
370 | 373 |
| |
371 | 374 |
| |
| 375 | + | |
| 376 | + | |
372 | 377 |
| |
373 | 378 |
| |
374 | 379 |
| |
375 | 380 |
| |
376 | 381 |
| |
377 | 382 |
| |
378 | 383 |
| |
379 |
| - | |
380 |
| - | |
381 | 384 |
| |
382 | 385 |
| |
383 | 386 |
| |
| |||
2997 | 3000 |
| |
2998 | 3001 |
| |
2999 | 3002 |
| |
| 3003 | + | |
| 3004 | + | |
3000 | 3005 |
| |
3001 | 3006 |
| |
3002 | 3007 |
| |
| |||
3090 | 3095 |
| |
3091 | 3096 |
| |
3092 | 3097 |
| |
| 3098 | + | |
| 3099 | + | |
3093 | 3100 |
| |
3094 | 3101 |
| |
3095 | 3102 |
| |
|
0 commit comments
Comments
(0)