Re: Generating partitioning tuple conversion maps faster - Mailing list pgsql-hackers

From amul sul
Subject Re: Generating partitioning tuple conversion maps faster
Date
Msg-id CAAJ_b96jJne9LyvZ-F3qc5=DE2fXVt4mPdYer+B6+TkCvroFLA@mail.gmail.com
Whole thread Raw
In response to Re: Generating partitioning tuple conversion maps faster  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
On Mon, Jun 25, 2018 at 10:57 AM Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:
>
> On 2018/06/25 14:12, amul sul wrote:
> > On Mon, Jun 25, 2018 at 10:30 AM David Rowley
> > <david.rowley@2ndquadrant.com> wrote:
> >>
> > [...]
> >> Given the small size of this patch. I think it's a good candidate for
> >> the July 'fest.
> >>
> >
> > Just a different thought, how about having flag array something like
> > needed_tuple_conv?
> >
> > While loading partdesc, we could calculate that the columns of partition table
> > are aligned with the parent or not?
>
> Yeah maybe, but ISTM, that could be implemented *in addition to* the
> tweaks to convert_tuples_by_name_map that David's proposing, which seem
> helpful in their own right.
>
Yes, I agree.

Regards,
Amul


pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Generating partitioning tuple conversion maps faster
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: PATCH: backtraces for error messages