- Notifications
You must be signed in to change notification settings - Fork5
Commitb989662
committed
Return proper exit code (3) from psql when ON_ERROR_STOP=on and
--single-transaction are both used and the failure happens in commit,e.g. failed deferred trigger. Also properly free BEGIN/COMMIT resultstructures from --single-transaction.Per report from Dominic Bevacqua1 parentaa8eed3 commitb989662
1 file changed
+21
-3
lines changedLines changed: 21 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
1731 | 1731 |
| |
1732 | 1732 |
| |
1733 | 1733 |
| |
1734 |
| - | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
1735 | 1744 |
| |
| 1745 | + | |
1736 | 1746 |
| |
1737 |
| - | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
1738 | 1756 |
| |
1739 | 1757 |
| |
1740 | 1758 |
| |
|
0 commit comments
Comments
(0)