forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfdc60bd
committed
Tweak pg_exec_query_string so that we close down transaction command
before reporting command-complete message for the final command of aquery string. This way, any errors detected during finish_xact_command(such as RI violations) will appear to be part of the final command,rather than coming out after the command is reported complete. Thisavoids confusing PQendcopy and other not-overly-bright clients.Per Lee Harr's bug report of 25-Feb-02.1 parent36addaf commitfdc60bd
1 file changed
+21
-3
lines changedLines changed: 21 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
859 | 859 |
| |
860 | 860 |
| |
861 | 861 |
| |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
862 | 878 |
| |
863 | 879 |
| |
864 | 880 |
| |
| |||
878 | 894 |
| |
879 | 895 |
| |
880 | 896 |
| |
881 |
| - | |
| 897 | + | |
| 898 | + | |
882 | 899 |
| |
883 | 900 |
| |
884 | 901 |
| |
885 | 902 |
| |
886 | 903 |
| |
887 | 904 |
| |
| 905 | + | |
888 | 906 |
| |
889 | 907 |
| |
890 | 908 |
| |
| |||
1689 | 1707 |
| |
1690 | 1708 |
| |
1691 | 1709 |
| |
1692 |
| - | |
| 1710 | + | |
1693 | 1711 |
| |
1694 | 1712 |
| |
1695 | 1713 |
| |
|
0 commit comments
Comments
(0)