On Fri, Mar 23, 2018 at 8:22 AM, Etsuro Fujita <fujita.ets...@lab.ntt.co.jp> wrote: >> I think for bulk >> inserts we'll need an API that says "here's a row, store it or buffer >> it as you like" and then another API that says "flush any buffered >> rows to the actual table and perform any necessary cleanup". Or maybe >> in postgres_fdw the first API could start a COPY if not already done >> and send the row, and the second one could end the COPY. > That's really what I have in mind.
So let's do it. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company