Re: Crash in gist insertion on pathological box data

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Crash in gist insertion on pathological box data
Date: 2009-04-05 14:02:29
Message-ID: 49D8B9F5.5050102@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I don't like throwing an error there; I wish there were a way for the
> generic code to apply the fallbackSplit code instead. I see that
> in this particular formulation it's dependent on the datatype ---
> can we get around that, by having it invoke the union method?

Done. rtree.patch.gz contains patch for gistproc.c, genericsplit.patch.gz adds
simple genericPickSplit to gistsplit.c to workaround bug of user-defined picksplit.

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

Attachment Content-Type Size
rtree.patch.gz application/x-tar 1.2 KB
genericsplit.patch.gz application/x-tar 1.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-04-05 14:20:06 Re: EXPLAIN WITH
Previous Message Robert Haas 2009-04-05 13:40:11 EXPLAIN WITH