Re: [HACKERS] Add support for tuple routing to foreign partitions - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] Add support for tuple routing to foreign partitions
Date
Msg-id CA+TgmoYanJY_2n_878U_59+ONQ-WNth6Jsw-KvfxfY96+78U+Q@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Add support for tuple routing to foreign partitions  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
List pgsql-hackers
On Fri, Mar 23, 2018 at 8:22 AM, Etsuro Fujita
<fujita.etsuro@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


pgsql-hackers by date:

Previous
From: Jim Finnerty
Date:
Subject: Re: Removing useless DISTINCT clauses
Next
From: "Daniel Verite"
Date:
Subject: Re: [HACKERS] PATCH: Batch/pipelining support for libpq