RE: POC: postgres_fdw insert batching
tsunakawa.takay@fujitsu.com <tsunakawa.takay@fujitsu.com>
From: "tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>
To: 'Tomas Vondra' <tomas.vondra@enterprisedb.com>, Amit Langote <amitlangote09@gmail.com>
Cc: "Andrey V. Lepikhov" <a.lepikhov@postgrespro.ru>, Tomas Vondra <tomas.vondra@2ndquadrant.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-01-15T02:47:12Z
Lists: pgsql-hackers
From: Tomas Vondra <tomas.vondra@enterprisedb.com> > Attached is v9 with all of those tweaks, except for moving the BatchSize call to > BeginForeignModify - I tried that, but it did not seem like an improvement, > because we'd still need the checks for API callbacks in ExecInsert for example. > So I decided not to do that. Thanks, Tomas-san. The patch looks good again. Amit-san, thank you for teaching us about es_tuple_routing_result_relations and es_opened_result_relations. Regards Takayuki Tsunakawa
Commits
-
Fix tuple routing to initialize batching only for inserts
- 927f453a9410 14.0 landed
-
Fix pointer type in ExecForeignBatchInsert SGML docs
- c15283ff429b 14.0 landed
-
Fix initialization of FDW batching in ExecInitModifyTable
- 920f853dc948 14.0 landed
-
Implement support for bulk inserts in postgres_fdw
- b663a4136331 14.0 landed