Re: Explain buffers wrong counter with parallel plans

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Adrien Nayrat <adrien(dot)nayrat(at)anayrat(dot)info>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Explain buffers wrong counter with parallel plans
Date: 2018-08-13 03:52:20
Message-ID: CAA4eK1JGxHHTeErN0SyK1d6xJ6F0fSmMA6sQU8DaA1rL4eVV4A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Aug 5, 2018 at 5:34 PM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> On Fri, Aug 3, 2018 at 2:09 PM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>> On Thu, Aug 2, 2018 at 11:14 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>>> In the third one, I don't think
>>> "See ExecLimit" is a good thing to put a comment like this, because
>>> it's too hard to find the comment to which it refers, and because
>>> future commits are likely to edit or remove that comment without
>>> noticing the references to it from elsewhere. Instead I would just
>>> write, in all three places, /* If we know we won't need to back up, we
>>> can release resources at this point. */ or something like that.
>>>
>>
>> Okay, I have changed the comment as per your suggestion in the
>> attached patch. I will do some more testing/verification of this
>> patch and will commit over the weekend or on Monday if everything is
>> fine.
>>
>
> I have verified that the patch works whenever we use scrollable
> cursors. Please find the attached patch with the modified commit
> message. I think now it is a bit late for this minor-release and this
> doesn't appear to be a blocker issue, it is better to push it after
> the release.
>

Pushed.

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2018-08-13 05:03:21 Re: Explain buffers wrong counter with parallel plans
Previous Message Andrew Gierth 2018-08-13 03:32:17 Fix quadratic performance of regexp match/split functions