Fix initialization of FDW batching in ExecInitModifyTable
Tomas Vondra <tomas.vondra@postgresql.org>
Fix initialization of FDW batching in ExecInitModifyTable ExecInitModifyTable has to initialize batching for all result relations, not just the first one. Furthermore, when junk filters were necessary, the pointer pointed past the mtstate->resultRelInfo array. Per reports from multiple non-x86 animals (florican, locust, ...). Discussion: https://postgr.es/m/20200628151002.7x5laxwpgvkyiu3q@development
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeModifyTable.c | modified | +21 −10 |
Discussion
- POC: postgres_fdw insert batching 115 messages · 2020-06-28 → 2021-02-18