Re: non-bulk inserts and tuple routing

Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>

From: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2018-02-20T10:40:49Z
Lists: pgsql-hackers

Attachments

(2018/02/19 13:19), Amit Langote wrote:
> Attached rebased patch.

Thanks for the rebased patch!

One thing I noticed while updating the 
tuple-routing-for-foreign-partitions patch on top of this is: we should 
switch into the per-query memory context in ExecInitPartitionInfo. 
Attached is an updated version for that.

Best regards,
Etsuro Fujita

Commits

  1. Fix parent node of WCO expressions in partitioned tables.

  2. Update PartitionTupleRouting struct comment

  3. Be lazier about partition tuple routing.