Re: Segmentation fault when creating a BRIN, 10beta1

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Alexander Sosna <alexander.sosna@credativ.de>, pgsql-hackers@postgresql.org
Date: 2017-05-31T00:54:30Z
Lists: pgsql-hackers
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?

- Andres


Commits

  1. brin: Don't crash on auto-summarization

  2. Fix improper quoting of format_type_be() output.