pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@postgresql.org
Subject: pgsql: Cube extension kNN support
Date: Fri, 18 Dec 2015 11:42:17 +0000
Message-ID: <E1a9tQP-0004Qd-R7@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Cube extension kNN support

Introduce distance operators over cubes:
<#> taxicab distance
<->  euclidean distance
<=> chebyshev distance

Also add kNN support of those distances in GiST opclass.

Author: Stas Kelvich

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/33bd250f6c4cc309f4eeb657da80f1e7743b3e5c

Modified Files
--------------
contrib/cube/Makefile            |    2 +-
contrib/cube/cube--1.0--1.1.sql  |   60 ++++++
contrib/cube/cube--1.0.sql       |  325 --------------------------------
contrib/cube/cube--1.1.sql       |  379 ++++++++++++++++++++++++++++++++++++++
contrib/cube/cube.c              |  208 +++++++++++++++++++++
contrib/cube/cube.control        |    2 +-
contrib/cube/cubedata.h          |    5 +
contrib/cube/expected/cube.out   |  301 ++++++++++++++++++++++++++++++
contrib/cube/expected/cube_1.out |  301 ++++++++++++++++++++++++++++++
contrib/cube/expected/cube_2.out |  301 ++++++++++++++++++++++++++++++
contrib/cube/expected/cube_3.out |  301 ++++++++++++++++++++++++++++++
contrib/cube/sql/cube.sql        |   53 ++++++
doc/src/sgml/cube.sgml           |   96 ++++++++++
13 files changed, 2007 insertions(+), 327 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1a9tQP-0004Qd-R7@gemulon.postgresql.org>
Permalink:  ../E1a9tQP-0004Qd-R7@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1a9tQP-0004Qd-R7@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: teodor@sigaev.ru
  Subject: Re: pgsql: Cube extension kNN support
  In-Reply-To: <E1a9tQP-0004Qd-R7@gemulon.postgresql.org>
  References: <E1a9tQP-0004Qd-R7@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox