Re: Fix for gistchoose - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix for gistchoose
Date
Msg-id 24272.1346347654@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix for gistchoose  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Fix for gistchoose
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Aug 20, 2012 at 12:57 PM, Alexander Korotkov
> <aekorotkov@gmail.com> wrote:
>> I found that code of gistchoose doesn't follow it's logic. Idea of
>> gistchoose is that first column penalty is more important than penalty of
>> second column. If we meet same penalty values of first column then we choose
>> minimal penalty value of second column among them.

> Nice catch.  Thanks for the patch, which I have now committed.

Should we backpatch that?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_operator.oprcode in 9.2rc1
Next
From: Robert Haas
Date:
Subject: Re: canceling autovacuum task woes