Re: [sqlsmith] Failed assertion on pfree() viaperform_pruning_combine_step - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [sqlsmith] Failed assertion on pfree() viaperform_pruning_combine_step
Date
Msg-id 20180409135947.ash57pvfags6jnca@alvherre.pgsql
Whole thread Raw
In response to Re: [sqlsmith] Failed assertion on pfree() viaperform_pruning_combine_step  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: [sqlsmith] Failed assertion on pfree() viaperform_pruning_combine_step  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Re: [sqlsmith] Failed assertion on pfree() viaperform_pruning_combine_step  (Michael Paquier <michael@paquier.xyz>)
List 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


pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: PostgreSQL's handling of fsync() errors is unsafe and risks data loss at least on XFS
Next
From: Tom Lane
Date:
Subject: Re: Transform for pl/perl