From: | Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp> |
---|---|
To: | fujita(dot)etsuro(at)lab(dot)ntt(dot)co(dot)jp |
Cc: | Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp, robertmhaas(at)gmail(dot)com, alvherre(at)alvh(dot)no-ip(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Oddity in tuple routing for foreign partitions |
Date: | 2018-04-27 01:01:11 |
Message-ID: | 20180427.100111.228682290.horiguchi.kyotaro@lab.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
At Thu, 26 Apr 2018 21:16:38 +0900, Etsuro Fujita <fujita(dot)etsuro(at)lab(dot)ntt(dot)co(dot)jp> wrote in <5AE1C326(dot)6040201(at)lab(dot)ntt(dot)co(dot)jp>
> (2018/04/26 20:06), Kyotaro HORIGUCHI wrote:
> > Please rewrite it to use not array reference, but pointer
> > reference if one mtstate logically holds just one resultRelInfo.
>
> Maybe I don't understand your words correctky, but in that UPDATE
> case, I think that mtstate can have multiple ResultRelInfo.
Ah, mtstate has the same number of resultRelInfo with subplans
and it is *written* in the comment just above:( And it is exactly
for the UPDATE case. Sorry for the silly comment.
> >>>> Anyway, I think that
> >>>> the former is more like an improvement rather than a fix, so it would
> >>>> be
> >>>> better to leave that for another patch for PG12?
> >>>
> >>> I agree, so I'm dropping the patch for 1.
> >>
> >> OK, let's focus on #2!
> >>
> >>> See attached an updated version with changes as described above.
> >>
> >> Looks good to me. Thanks for the updated version!
> >
> > Agreed on all points above.
>
> Thanks for reviewing!
I'm happy if it helps you.
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-04-27 01:01:56 | Re: jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type |
Previous Message | Michael Paquier | 2018-04-27 00:59:51 | Re: jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type |