Re: [sqlsmith] Failed assertion on pfree() via perform_pruning_combine_step

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
Cc: Andreas Seltenreich <seltenreich(at)gmx(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [sqlsmith] Failed assertion on pfree() via perform_pruning_combine_step
Date: 2018-04-09 13:59:48
Message-ID: 20180409135947.ash57pvfags6jnca@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

Amit Langote wrote:

> I have reproduced this and found that the problem is that
> perform_pruning_combine_step forgets to *copy* the bitmapset of the first
> step in the handling of an COMBINE_INTERSECT step.

Pushed, thanks Amit and Andreas!

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2018-04-09 14:03:57 Re: pgsql: Support partition pruning at execution time
Previous Message Tomas Vondra 2018-04-09 13:54:19 Re: PostgreSQL's handling of fsync() errors is unsafe and risks data loss at least on XFS