Commit 3a45321
Etsuro Fujita
Fix thinko in ExecCleanupTupleRouting().
Commit 3f2393e changed ExecCleanupTupleRouting() so that it skipped
cleaning up subplan resultrels before calling EndForeignInsert(), but
that would cause an issue: when those resultrels were foreign tables,
the FDWs would fail to shut down. Repair by skipping it after calling
EndForeignInsert() as before.
Author: Etsuro Fujita
Reviewed-by: David Rowley and Amit Langote
Discussion: https://postgr.es/m/5CAF3B8F.2090905@lab.ntt.co.jp1 parent abb9c63 commit 3a45321
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
1129 | 1135 | | |
1130 | 1136 | | |
1131 | 1137 | | |
| |||
1142 | 1148 | | |
1143 | 1149 | | |
1144 | 1150 | | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
1151 | 1151 | | |
1152 | 1152 | | |
1153 | 1153 | | |
| |||
0 commit comments