Re: BUG #16104: Invalid DSA Memory Alloc Request in Parallel Hash

Thomas Munro <thomas.munro@gmail.com>

From: Thomas Munro <thomas.munro@gmail.com>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Andres Freund <andres@anarazel.de>, James Coleman <jtc331@gmail.com>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>, Robert Haas <robertmhaas@gmail.com>
Date: 2019-12-17T23:36:57Z
Lists: pgsql-bugs
On Wed, Dec 18, 2019 at 12:21 PM Tomas Vondra
<tomas.vondra@2ndquadrant.com> wrote:
> So yeah, that probably means the theory about CHECK_FOR_INTERRUPTS call
> missing right after latch reset is correct.

I wonder if it'd be better to remove that ResetLatch() (what is it
good for?) or add CFI().



Commits

  1. Rotate instead of shifting hash join batch number.