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: Add optional compression method to SP-GiST
Date: Fri, 22 Dec 2017 10:33:42 +0000
Message-ID: <E1eSKe6-0003AO-C3@gemulon.postgresql.org> (raw)

Add optional compression method to SP-GiST

Patch allows to have different types of column and value stored in leaf tuples
of SP-GiST. The main application of feature is to transform complex column type
to simple indexed type or for truncating too long value, transformation could
be lossy.  Simple example: polygons are converted to their bounding boxes,
this opclass follows.

Authors: me, Heikki Linnakangas, Alexander Korotkov, Nikita Glukhov
Reviewed-By: all authors + Darafei Praliaskouski
Discussions:
https://www.postgresql.org/message-id/5447B3FF.2080406@sigaev.ru
https://www.postgresql.org/message-id/flat/54907069.1030506@sigaev.ru#54907069.1030506@sigaev.ru

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/854823fa334cb826eed50da751801d0693b10173

Modified Files
--------------
doc/src/sgml/spgist.sgml                | 92 ++++++++++++++++++++++++++-------
src/backend/access/spgist/spgdoinsert.c | 37 ++++++++++---
src/backend/access/spgist/spgscan.c     |  6 +--
src/backend/access/spgist/spgutils.c    | 21 +++++++-
src/backend/access/spgist/spgvalidate.c | 50 +++++++++++++++++-
src/include/access/spgist.h             |  5 +-
src/include/access/spgist_private.h     |  8 +--
7 files changed, 182 insertions(+), 37 deletions(-)



Message-ID: <E1eSKe6-0003AO-C3@gemulon.postgresql.org>
Permalink:  ../E1eSKe6-0003AO-C3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eSKe6-0003AO-C3@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: Add optional compression method to SP-GiST
  In-Reply-To: <E1eSKe6-0003AO-C3@gemulon.postgresql.org>
  References: <E1eSKe6-0003AO-C3@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