forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2ce353f

Amit Kapila
Tighten the concurrent abort check during decoding.
During decoding of an in-progress or prepared transaction, we detectconcurrent abort with an error code ERRCODE_TRANSACTION_ROLLBACK. That isnot sufficient because a callback can decide to throw that error codeat other times as well.Reported-by: Tom LaneAuthor: Amit KapilaReviewed-by: Dilip KumarDiscussion:https://postgr.es/m/CAA4eK1KCjPRS4aZHB48QMM4J8XOC1+TD8jo-4Yu84E+MjwqVhA@mail.gmail.com1 parentc250062 commit2ce353f
1 file changed
+10
-9
lines changedLines changed: 10 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2492 | 2492 |
| |
2493 | 2493 |
| |
2494 | 2494 |
| |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
2495 | 2501 |
| |
2496 |
| - | |
| 2502 | + | |
| 2503 | + | |
2497 | 2504 |
| |
2498 |
| - | |
2499 |
| - | |
2500 |
| - | |
2501 |
| - | |
2502 |
| - | |
2503 |
| - | |
2504 |
| - | |
2505 |
| - | |
| 2505 | + | |
| 2506 | + | |
2506 | 2507 |
| |
2507 | 2508 |
| |
2508 | 2509 |
| |
|
0 commit comments
Comments
(0)