pgsql: Introduce traversalValue for SP-GiST scan - Mailing list pgsql-committers

From Teodor Sigaev
Subject pgsql: Introduce traversalValue for SP-GiST scan
Date
Msg-id E1alIBw-0001K1-GV@gemulon.postgresql.org
Whole thread Raw
List pgsql-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(+)


pgsql-committers by date:

Previous
From: pgsql@postgresql.org
Date:
Subject: pgsql: Tag refs/tags/REL9_2_16 was created
Next
From: Teodor Sigaev
Date:
Subject: pgsql: Use traversalValue in SP-GiST range opclass.