Re: issues with range types, btree_gist and constraints - Mailing list pgsql-hackers

From Tom Lane
Subject Re: issues with range types, btree_gist and constraints
Date
Msg-id 26877.1360017138@sss.pgh.pa.us
Whole thread Raw
In response to Re: issues with range types, btree_gist and constraints  (Tomas Vondra <tv@fuzzy.cz>)
List pgsql-hackers
Tomas Vondra <tv@fuzzy.cz> writes:
> I've managed to further simplify the test-case, and I've verified that
> it's reproducible on current 9.2 and 9.3 branches.

Yeah, I've been able to reproduce it as well.  I found what I thought
might be the bug: gbt_var_bin_union() looks like it does the wrong thing
if both ends of the range need to be extended.  However, fixing that
doesn't fix your test case, so there's more to it.

> I've been unable to reproduce the bug with just a single text column.

Hm.  I noticed a lot of elog complaints about "picksplit method
... doesn't support secondary split", so maybe the bug is in the code
that's trying to deal with that.  I've not had time to look closer.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: split rm_name and rm_desc out of rmgr.c
Next
From: Alvaro Herrera
Date:
Subject: palloc unification