Re: Segmentation fault when creating a BRIN, 10beta1

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Alexander Sosna <alexander(dot)sosna(at)credativ(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Segmentation fault when creating a BRIN, 10beta1
Date: 2017-05-31 15:20:21
Message-ID: 20170531152021.tfvmzsk5yj4qxyog@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Dilger 2017-05-31 15:28:51 Re: Use of non-restart-safe storage by temp_tablespaces
Previous Message Dilip Kumar 2017-05-31 15:16:34 Re: POC: Sharing record typmods between backends