• Teodor Sigaev's avatar
    Introduce traversalValue for SP-GiST scan · ccd6eb49
    Teodor Sigaev authored
    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
    ccd6eb49
spgist.h 7.04 KB