]> granicus.if.org Git - postgresql/commit
Clean up a couple of box gist helper functions.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 9 Oct 2011 15:55:27 +0000 (18:55 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 9 Oct 2011 15:59:34 +0000 (18:59 +0300)
commitd50e1251946a6e59092f0a84fc903532eb599a4f
tree0f09256b7f506267b801ed874b08077730d57dff
parentcbfa92c23c3924d53889320cdbe26f23ee23e40c
Clean up a couple of box gist helper functions.

The original idea of this patch was to make box picksplit run faster, by
eliminating unnecessary palloc() overhead, but that was obsoleted by the new
double-sorting split algorithm that doesn't call these functions so heavily
anymore. Nevertheless, the code looks better this way.

Original patch by me, reviewed and tidied up after the double-sorting patch
by Kevin Grittner.
src/backend/access/gist/gistproc.c