Re: LLVM jit and matview - Mailing list pgsql-hackers

From Andres Freund
Subject Re: LLVM jit and matview
Date
Msg-id 20180725024956.6gxqscgk5fmuqbb7@alap3.anarazel.de
Whole thread Raw
In response to Re: LLVM jit and matview  (Michael Paquier <michael@paquier.xyz>)
Responses Re: LLVM jit and matview  (Michael Paquier <michael@paquier.xyz>)
Re: LLVM jit and matview  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On 2018-07-10 09:19:58 +0900, Michael Paquier wrote:
> On Mon, Jul 09, 2018 at 04:04:11PM +0200, Dmitry Dolgov wrote:
> > # matview.sql
> > ...
> > =# REFRESH MATERIALIZED VIEW CONCURRENTLY mvtest_tm;
> > server closed the connection unexpectedly
> > This probably means the server terminated abnormally
> > before or while processing the request.
> > The connection to the server was lost. Attempting reset: Failed.
> 
> Problem reproduced here with exactly the same stack.  Here is a simple
> SQL sequence:
> create table aa (a int);
> create materialized view aam as select * from aa;
>  create unique index aami on aam(a);
> insert into aa values (generate_series(1,100000));
> refresh materialized view CONCURRENTLY aam;

FWIW, this doesn't crash for me, using a trunk checkout for LLVM. I'll
try older ones, as soon as they finish rebuilding. But perhaps you could
re-verify that this still is an issue on recent PG checkouts? And which
version of LLVM are you guys using?

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Add SKIP LOCKED to VACUUM and ANALYZE
Next
From: "Imai, Yoshikazu"
Date:
Subject: RE: Locking B-tree leafs immediately in exclusive mode