Re: [HACKERS] [PATCH] kNN for SP-GiST - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: [HACKERS] [PATCH] kNN for SP-GiST
Date
Msg-id F6E32265-5E11-461A-83C1-1927B28E8600@yandex-team.ru
Whole thread Raw
In response to Re: [HACKERS] [PATCH] kNN for SP-GiST  (Nikita Glukhov <n.gluhov@postgrespro.ru>)
Responses Re: [HACKERS] [PATCH] kNN for SP-GiST  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
List pgsql-hackers
17 июля 2018 г., в 16:42, Nikita Glukhov <n.gluhov@postgrespro.ru> написал(а):
>
> Fixed.

Patch works as advertised, adds documentation and tests. I didn't succeeded in attempts to break it's functionality. I
haveno more notices about the code. 
Maybe except this const looks unusual, but is correct
+extern BOX *box_copy(const BOX *box);

I'm not sure in architectural point of view: supporting two ways (list and heap) to store result seems may be a bit
heavy,but OK. At least, it has meaningful benefits. 

I think the patch is ready for committer.

Best regards, Andrey Borodin.

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Online enabling of checksums
Next
From: Tom Lane
Date:
Subject: Re: 11beta crash/assert caused by parameter type changes