• Heikki Linnakangas's avatar
    Optimize SP-GiST insertions. · c82dedb7
    Heikki Linnakangas authored
    This includes two micro-optimizations to the tight inner loop in descending
    the SP-GiST tree: 1. avoid an extra function call to index_getprocinfo when
    calling user-defined choose function, and 2. avoid a useless palloc+pfree
    when node labels are not used.
    c82dedb7
spgdoinsert.c 63.1 KB