Re: Segmentation fault when creating a BRIN, 10beta1

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alexander Sosna <alexander.sosna@credativ.de>, pgsql-hackers@postgresql.org
Date: 2017-05-30T20:13:00Z
Lists: pgsql-hackers
Tom Lane wrote:
> Alexander Sosna <alexander.sosna@credativ.de> writes:
> > I can reproduce a segmentation fault when creating a BRIN concurrently
> > with set pages_per_range and autosummarize.
> 
> I wonder if this isn't the same issue reported in
> https://www.postgresql.org/message-id/flat/20170524063323.29941.46339%40wrigleys.postgresql.org
> 
> Could you try the patch suggested there?

With the patch, it crashes immediately for me.  Looking into it now.

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


Commits

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

  2. Fix improper quoting of format_type_be() output.