Commit 8f9be26
committed
Add HOLD_INTERRUPTS section into FinishPreparedTransaction.
If an interrupt arrives in the middle of FinishPreparedTransaction
and any callback decide to call CHECK_FOR_INTERRUPTS (e.g.
RemoveTwoPhaseFile can write a warning with ereport, which checks for
interrupts) then it's possible to leave current GXact undeleted.
Backpatch to all supported branches
Stas Kelvich
Discussion: ihttps://www.postgresql.org/message-id/3AD85097-A3F3-4EBA-99BD-C38EDF8D2949@postgrespro.ru1 parent cddc4dc commit 8f9be26
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1487 | 1487 | | |
1488 | 1488 | | |
1489 | 1489 | | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
1490 | 1493 | | |
1491 | 1494 | | |
1492 | 1495 | | |
| |||
1578 | 1581 | | |
1579 | 1582 | | |
1580 | 1583 | | |
| 1584 | + | |
| 1585 | + | |
1581 | 1586 | | |
1582 | 1587 | | |
1583 | 1588 | | |
| |||
0 commit comments