diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-08-29 09:14:08 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-08-29 09:21:20 +0300 |
commit | c82dedb7a8a953785f24a3b10de376760d60c24c (patch) | |
tree | fd8ed66d5fc40431790f971e442c5f16cd9ddaa3 /src/backend/access/gist/gistutil.c | |
parent | 9df55c8c3f0eba77de57006999d5700292fa9d33 (diff) | |
download | postgresql-c82dedb7a8a953785f24a3b10de376760d60c24c.tar.gz |
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.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions