Re: Re: PG regression with row comparison when btree_gist is enabled (BUG) - Mailing list pgsql-bugs

From Jeff Davis
Subject Re: Re: PG regression with row comparison when btree_gist is enabled (BUG)
Date
Msg-id 1309971611.3012.121.camel@jdavis
Whole thread Raw
In response to Re: Re: PG regression with row comparison when btree_gist is enabled (BUG)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: PG regression with row comparison when btree_gist is enabled (BUG)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Tue, 2011-07-05 at 13:56 -0400, Tom Lane wrote:
> Yeah, I had been thinking along the same lines.  It will require
> duplicating the search loop, which is a bit annoying, but perhaps that
> could be factored out as a subroutine.

Patch attached. The logic in predtest.c was a little more complex, and I
don't think we have a lot of test coverage in this area (and I didn't
see an easy way to add many tests), so this will need some review.

Regards,
    Jeff Davis

Attachment

pgsql-bugs by date:

Previous
From: Craig Ringer
Date:
Subject: Re: R: Re: BUG #6091: Information
Next
From: Jeff Frost
Date:
Subject: Re: BUG #6092: specific casting required for gist indexing of bigint