Re: [HACKERS] Segmentation fault when creating a BRIN, 10beta1 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] Segmentation fault when creating a BRIN, 10beta1
Date
Msg-id 20170531152021.tfvmzsk5yj4qxyog@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] Segmentation fault when creating a BRIN, 10beta1  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund wrote:
> On 2017-05-30 18:21:10 -0400, Alvaro Herrera wrote:
> > Alexander Sosna wrote:
> > > Hi,
> > > 
> > > I can reproduce a segmentation fault when creating a BRIN concurrently
> > > with set pages_per_range and autosummarize.
> > 
> > Pushed fix just now.  Please give it a try.  Thanks for testing and
> > reporting,
> 
> Shouldn't this have been uncovered by a regression test? In other words,
> do I understand correctly that the new summarization stuff is largely
> not tested by regression tests?

You understand correctly and I had the same concern myself upon finding
about the bug.  I cannot promise to create one right now but I can do so
after June 12th.

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



pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: [HACKERS] POC: Sharing record typmods between backends
Next
From: Mark Dilger
Date:
Subject: Re: [HACKERS] Use of non-restart-safe storage by temp_tablespaces