Re: POC: postgres_fdw insert batching
Ian Lawrence Barwick <barwick@gmail.com>
From: Ian Lawrence Barwick <barwick@gmail.com>
To: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Amit Langote <amitlangote09@gmail.com>, "tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>, "Andrey V. Lepikhov" <a.lepikhov@postgrespro.ru>,
Tomas Vondra <tomas.vondra@2ndquadrant.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-01-22T05:50:49Z
Lists: pgsql-hackers
Attachments
- doc-fdw-batch-insert-fix.v1.patch (text/x-patch) patch v1
Hi
2021年1月21日(木) 8:00 Tomas Vondra <tomas.vondra@enterprisedb.com>:
> OK, pushed after a little bit of additional polishing (mostly comments).
>
> Thanks everyone!
>
There's a minor typo in the doc's version of the ExecForeignBatchInsert()
declaration;
is:
TupleTableSlot **
ExecForeignBatchInsert(EState *estate,
ResultRelInfo *rinfo,
TupleTableSlot **slots,
TupleTableSlot *planSlots,
int *numSlots);
should be:
TupleTableSlot **
ExecForeignBatchInsert(EState *estate,
ResultRelInfo *rinfo,
TupleTableSlot **slots,
TupleTableSlot **planSlots,
int *numSlots);
(Trivial patch attached).
Regards
Ian Barwick
--
EnterpriseDB: https://www.enterprisedb.com
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