Re: [sqlsmith] Failing assertions in spgtextproc.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Seltenreich <seltenreich(at)gmx(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [sqlsmith] Failing assertions in spgtextproc.c
Date: 2016-01-02 21:26:26
Message-ID: 23644.1451769986@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andreas Seltenreich <seltenreich(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-01-02 21:31:49 Re: Some 9.5beta2 backend processes not terminating properly?
Previous Message Brar Piening 2016-01-02 21:25:31 Re: Some 9.5beta2 backend processes not terminating properly?