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-02-05T01:55:04Z
Lists: pgsql-hackers
2021年1月22日(金) 14:50 Ian Lawrence Barwick <barwick@gmail.com>: > 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). > > Forgot to mention the relevant doc link: https://www.postgresql.org/docs/devel/fdw-callbacks.html#FDW-CALLBACKS-UPDATE 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