Re: Bug in GiST paring heap comparator

From: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>
To: Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)ru>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: Bug in GiST paring heap comparator
Date: 2019-09-24 22:57:03
Message-ID: CAPpHfdsSAFmwrUn-sc=8bjpd-Gx2NPemTX+0OJiHqMcNp42cUg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 25, 2019 at 1:22 AM Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-09-24 22:57:16 Re: allocation limit for encoding conversion
Previous Message Ziga 2019-09-24 22:41:53 Re: DROP SUBSCRIPTION with no slot