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: Introduce traversalValue for SP-GiST scan
Date: Wed, 30 Mar 2016 15:37:56 +0000
Message-ID: <E1alIBw-0001K1-GV@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Introduce traversalValue for SP-GiST scan

During scan sometimes it would be very helpful to know some information about
parent node or all 	ancestor nodes. Right now reconstructedValue could be used
but it's not a right usage of it (range opclass uses that).

traversalValue is arbitrary piece of memory in separate MemoryContext while
reconstructedVale should have the same type as indexed column.

Subsequent patches for range opclass and quad4d tree will use it.

Author: Alexander Lebedev, Teodor Sigaev

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ccd6eb49a4ae924290ab7eba5540218f5beb48b8

Modified Files
--------------
doc/src/sgml/spgist.sgml            | 15 +++++++++++++++
src/backend/access/spgist/spgscan.c | 18 ++++++++++++++++++
src/include/access/spgist.h         |  4 ++++
3 files changed, 37 insertions(+)


-- 
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: <E1alIBw-0001K1-GV@gemulon.postgresql.org>
Permalink:  ../E1alIBw-0001K1-GV@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1alIBw-0001K1-GV@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: Introduce traversalValue for SP-GiST scan
  In-Reply-To: <E1alIBw-0001K1-GV@gemulon.postgresql.org>
  References: <E1alIBw-0001K1-GV@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