Re: default partition and concurrent attach partition - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: default partition and concurrent attach partition
Date
Msg-id 20200908224142.GA31310@alvherre.pgsql
Whole thread Raw
In response to Re: default partition and concurrent attach partition  (Amit Langote <amitlangote09@gmail.com>)
Responses Re: default partition and concurrent attach partition  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-hackers
On 2020-Sep-08, Amit Langote wrote:

> Yeah, we need to make sure that ExecPartitionCheck gets a slot whose
> TupleDesc matches the partition's.  Actually we do have such dedicated
> slots for partitions around (for both sub-partitioned and leaf
> partitions), so we can simply use them instead of creating one from
> scratch for every use.  It did take some code rearrangement to
> actually make that work though.

Pushed, thanks for working on this fix.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: VACUUM (INTERRUPTIBLE)?
Next
From: Andres Freund
Date:
Subject: Re: VACUUM (INTERRUPTIBLE)?