Re: [sqlsmith] Failing assertions in spgtextproc.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [sqlsmith] Failing assertions in spgtextproc.c
Date
Msg-id 23644.1451769986@sss.pgh.pa.us
Whole thread Raw
In response to Re: [sqlsmith] Failing assertions in spgtextproc.c  (Andreas Seltenreich <seltenreich@gmx.de>)
List pgsql-hackers
Andreas Seltenreich <seltenreich@gmx.de> writes:
> Here's a recipe for triggering the former:

>     create table t(c text);
>     create index on t using spgist(c);
>     insert into t select '' from generate_series(1,10000);
>     set enable_seqscan to off; select count(1) from t;

Ah-hah.  Thanks for the test case.

> I still think it's just the assertions being too strict.

Yes, now I agree.  Fix pushed.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Brar Piening
Date:
Subject: Re: Some 9.5beta2 backend processes not terminating properly?
Next
From: Andres Freund
Date:
Subject: Re: Some 9.5beta2 backend processes not terminating properly?