- Notifications
You must be signed in to change notification settings - Fork5
Commit1b812af
committed
Fix multiple problems in postgres_fdw query cancellation logic.
First, even if we cancel a query, we still have to roll back thecontaining transaction; otherwise, the session will be left in afailed transaction state.Second, we need to support canceling queries whe aborting asubtransaction as well as when aborting a toplevel transaction.Etsuro Fujita, reviewed by Michael Paquier1 parentb7a9347 commit1b812af
1 file changed
+25
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
681 | | - | |
| 680 | + | |
682 | 681 | | |
683 | 682 | | |
684 | 683 | | |
| |||
694 | 693 | | |
695 | 694 | | |
696 | 695 | | |
697 | | - | |
698 | 696 | | |
699 | 697 | | |
700 | 698 | | |
| |||
798 | 796 | | |
799 | 797 | | |
800 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
801 | 823 | | |
802 | 824 | | |
803 | 825 | | |
| |||
0 commit comments
Comments
(0)