Re: [PATCH] kNN for btree

Nikita Glukhov <n.gluhov@postgrespro.ru>

From: Nikita Glukhov <n.gluhov@postgrespro.ru>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, Alexander Korotkov <a.korotkov@postgrespro.ru>, Dmitry Dolgov <9erthalion6@gmail.com>, David Steele <david@pgmasters.net>, Robert Haas <robertmhaas@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-02-20T14:46:47Z
Lists: pgsql-hackers

Attachments

On 20.02.2019 15:44, Nikita Glukhov wrote:

> On 20.02.2019 7:35, Thomas Munro wrote:
>> On Wed, Feb 20, 2019 at 2:18 PM Nikita Glukhov<n.gluhov@postgrespro.ru>  wrote:
>>> On 04.02.2019 8:35, Michael Paquier wrote:
>>> This patch set needs a rebase because of conflicts caused by the
>>> recent patches for pluggable storage.
>> Hi Nikita,
>>  From the department of trivialities: according to cfbot the
>> documentation doesn't build.  Looks like you have some cases of </>,
>> but these days you have to write out </quote> (or whatever) in full.
> Sorry, tags in docs were fixed.  Also I fixed list of data types with built-in
> distance operators and list of assumptions for btree distance operators.
>
> Attached 7th version the patches (only documentation was changed).

Sorry again. Experimental patch #9 contained a bug leading to random failures
in the 'brin' test.

Attached fixed 7th version the patches.

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


Commits

  1. Enhance nbtree ScalarArrayOp execution.

  2. Fix handling of non-key columns get_index_column_opclass()

  3. Add SQL-accessible functions for inspecting index AM properties.