• Heikki Linnakangas's avatar
    Minor GIN code refactoring. · c2b175b9
    Heikki Linnakangas authored
    It makes for cleaner code to have separate Get/Add functions for PostingItems
    and ItemPointers.  A few callsites that have to deal with both types need to
    be duplicated because of this, but all the callers have to know which one
    they're dealing with anyway. Overall, this reduces the amount of casting
    required.
    
    Extracted from Alexander Korotkov's larger patch to change the data page
    format.
    c2b175b9
gin_private.h 23.7 KB