forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita8ed9bd

Etsuro Fujita
Fix oversight in commit1ec7fca.
I failed to account for the possibility that whenExecAppendAsyncEventWait() notifies multiple async-capable nodes usingpostgres_fdw, a preceding node might invoke process_pending_request() toprocess a pending asynchronous request made by a succeeding node. Inthat case the succeeding node should produce a tuple to return to theparent Append node from tuples fetched by process_pending_request() whennotified. Repair.Per buildfarm via Michael Paquier. Back-patch to v14, like the previouscommit.Thanks to Tom Lane for testing.Discussion:https://postgr.es/m/YQP0UPT8KmPiHTMs%40paquier.xyz1 parenteaf5321 commita8ed9bd
File tree
2 files changed
+30
-14
lines changed- contrib/postgres_fdw
- src/backend/executor
2 files changed
+30
-14
lines changedLines changed: 18 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6896 | 6896 |
| |
6897 | 6897 |
| |
6898 | 6898 |
| |
6899 |
| - | |
6900 |
| - | |
6901 |
| - | |
6902 | 6899 |
| |
6903 | 6900 |
| |
6904 | 6901 |
| |
| 6902 | + | |
| 6903 | + | |
| 6904 | + | |
| 6905 | + | |
| 6906 | + | |
| 6907 | + | |
| 6908 | + | |
| 6909 | + | |
| 6910 | + | |
| 6911 | + | |
| 6912 | + | |
| 6913 | + | |
| 6914 | + | |
| 6915 | + | |
| 6916 | + | |
| 6917 | + | |
| 6918 | + | |
6905 | 6919 |
| |
6906 | 6920 |
| |
6907 | 6921 |
| |
| |||
7027 | 7041 |
| |
7028 | 7042 |
| |
7029 | 7043 |
| |
7030 |
| - | |
| 7044 | + | |
7031 | 7045 |
| |
7032 | 7046 |
| |
7033 | 7047 |
| |
|
Lines changed: 12 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1082 | 1082 |
| |
1083 | 1083 |
| |
1084 | 1084 |
| |
1085 |
| - | |
1086 |
| - | |
1087 |
| - | |
1088 |
| - | |
1089 |
| - | |
1090 |
| - | |
1091 |
| - | |
1092 |
| - | |
1093 |
| - | |
1094 |
| - | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
1095 | 1097 |
| |
1096 | 1098 |
| |
1097 | 1099 |
| |
|
0 commit comments
Comments
(0)