Optimize SP-GiST insertions.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: c82dedb7a8a953785f24a3b10de376760d60c24c
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2012-08-29T06:21:20Z
Releases: 9.3.0
Optimize SP-GiST insertions.

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.

Files