pgsql: Fix initialization of FDW batching in ExecInitModifyTable

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема pgsql: Fix initialization of FDW batching in ExecInitModifyTable
Дата
Msg-id E1l2PoW-00071q-IN@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/920f853dc948b98a5dc96580c4ee011a302e33e4

Modified Files
--------------
src/backend/executor/nodeModifyTable.c | 31 +++++++++++++++++++++----------
1 file changed, 21 insertions(+), 10 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Switch "cl /?" to "cl /help" in MSVC scripts for platform detect
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix pull_varnos' miscomputation of relids set for a PlaceHolderV