- Notifications
You must be signed in to change notification settings - Fork5
Commit183e8b9
committed
While fixing plperl and pltcl, I realized plpgsql wasn't doing
subtransactions quite right either: the ReleaseCurrentSubTransactioncall should occur inside the PG_TRY, so that the proper path is takenif an error occurs during subtransaction commit. This assumes thatAbortSubTransaction can cope with the state left behind ifCommitSubTransaction fails partway through, but we were alreadyrequiring that.1 parent32c97fd commit183e8b9
1 file changed
+12
-16
lines changedLines changed: 12 additions & 16 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 |
| |
| |||
898 | 898 |
| |
899 | 899 |
| |
900 | 900 |
| |
901 |
| - | |
902 | 901 |
| |
903 | 902 |
| |
904 | 903 |
| |
| |||
907 | 906 |
| |
908 | 907 |
| |
909 | 908 |
| |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
910 | 920 |
| |
911 | 921 |
| |
912 | 922 |
| |
| |||
949 | 959 |
| |
950 | 960 |
| |
951 | 961 |
| |
952 |
| - | |
953 | 962 |
| |
954 | 963 |
| |
955 |
| - | |
956 |
| - | |
957 |
| - | |
958 |
| - | |
959 |
| - | |
960 |
| - | |
961 |
| - | |
962 |
| - | |
963 |
| - | |
964 |
| - | |
965 |
| - | |
966 |
| - | |
967 |
| - | |
968 | 964 |
| |
969 | 965 |
| |
970 | 966 |
| |
|
0 commit comments
Comments
(0)