Fix thinko in ExecCleanupTupleRouting().
Etsuro Fujita <efujita@postgresql.org>
Fix thinko in ExecCleanupTupleRouting(). Commit 3f2393edef 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.jp
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execPartition.c | modified | +6 −6 |
Discussion
- Issue in ExecCleanupTupleRouting() 6 messages · 2019-04-11 → 2019-04-15