Re: Bug in GiST paring heap comparator

From: Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)ru>
To: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: Bug in GiST paring heap comparator
Date: 2019-09-19 21:15:23
Message-ID: 426580d3-a668-b9d1-7b8e-f74d1a6524e0@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 19.09.2019 22:14, Alexander Korotkov wrote:
> Pushed.

Attached patch fixes premature xs_orderbynulls[] assignment.  The old value of
NULL flag, not the new, should be checked before pfree()ing the old value.

--
Nikita Glukhov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachment Content-Type Size
0001-Fix-pfree-ing-of-index-order-by-distances.patch text/x-patch 2.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonathan S. Katz 2019-09-19 22:04:02 Re: Define jsonpath functions as stable
Previous Message Tom Lane 2019-09-19 19:48:28 Re: Define jsonpath functions as stable