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 01432E05-D1AD-4D80-A7B4-149A299E906B@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  (Andrey Borodin <x4mmm@yandex-team.ru>)
List pgsql-hackers
Hi!


> 4 июля 2018 г., в 3:21, Nikita Glukhov <n.gluhov@postgrespro.ru> написал(а):
> Attached 5th version of the patches, where minor refactoring of distance
> handling was done (see below).
>

I'm reviewing this patch. Currently I'm trying to understand sp-gist scan deeeper, but as for now have some small
notices.

Following directives can be omitted:
#include "lib/rbtree.h"
#include "storage/relfilenode.h"

This message is not noly GiST related, is it?
elog(ERROR, "GiST operator family's FOR ORDER BY operator must return float8 or float4 if the distance function is
lossy");

Some small typos:
usefull -> useful
nearest-neighbour -> nearest-neighbor (or do we use e.g. "colour"?)

Best regards, Andrey Borodin.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] btree_gist: fix union implementation for variable length columns
Next
From: Andres Freund
Date:
Subject: Re: How can we submit code patches that implement our (pending)patents?