Re: Bug in GiST paring heap comparator - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: Bug in GiST paring heap comparator
Date
Msg-id CAPpHfdsSAFmwrUn-sc=8bjpd-Gx2NPemTX+0OJiHqMcNp42cUg@mail.gmail.com
Whole thread Raw
In response to Re: Bug in GiST paring heap comparator  (Nikita Glukhov <n.gluhov@postgrespro.ru>)
List pgsql-hackers
On Wed, Sep 25, 2019 at 1:22 AM Nikita Glukhov <n.gluhov@postgrespro.ru> wrote:
> Attached another one-line patch that fixes incorrect number of distances used
> in pairingheap_SpGistSearchItem_cmp():
>
> -    for (i = 0; i < so->numberOfOrderBys; i++)
> +    for (i = 0; i < so->numberOfNonNullOrderBys; i++)
>
>
> This change was present in my original commit, but it seems to have been
> missed after the rebase.  Sorry.

Pushed, thanks.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



pgsql-hackers by date:

Previous
From: Ziga
Date:
Subject: Re: DROP SUBSCRIPTION with no slot
Next
From: Andres Freund
Date:
Subject: Re: allocation limit for encoding conversion