Commit db76ba0
committed
Fix bug with unfished prepared transactions in case of query cancel.
elog() called from xact callback caused CHECK_FOR_INTERRUPTS() and
cancelled FinishPreparedTransaction() after WAL record was emmited
but before ProcArray and GXact were emptied. So move callback
down after sensible processing is finished.1 parent 86fd22d commit db76ba0
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1573 | 1573 | | |
1574 | 1574 | | |
1575 | 1575 | | |
| 1576 | + | |
1576 | 1577 | | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
| 1578 | + | |
1580 | 1579 | | |
1581 | | - | |
1582 | 1580 | | |
1583 | 1581 | | |
1584 | 1582 | | |
| |||
1634 | 1632 | | |
1635 | 1633 | | |
1636 | 1634 | | |
1637 | | - | |
| 1635 | + | |
1638 | 1636 | | |
1639 | 1637 | | |
1640 | 1638 | | |
1641 | 1639 | | |
1642 | 1640 | | |
1643 | 1641 | | |
1644 | 1642 | | |
1645 | | - | |
| 1643 | + | |
1646 | 1644 | | |
1647 | | - | |
| 1645 | + | |
1648 | 1646 | | |
1649 | 1647 | | |
1650 | 1648 | | |
| |||
1716 | 1714 | | |
1717 | 1715 | | |
1718 | 1716 | | |
| 1717 | + | |
| 1718 | + | |
1719 | 1719 | | |
1720 | 1720 | | |
1721 | 1721 | | |
| |||
0 commit comments