pgsql: Clean up a couple of box gist helper functions.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clean up a couple of box gist helper functions.
Date: 2011-10-09 16:00:34
Message-ID: E1RCvnm-0001XO-Ce@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d50e1251946a6e59092f0a84fc903532eb599a4f

Modified Files
--------------
src/backend/access/gist/gistproc.c | 31 +++++++++++++------------------
1 files changed, 13 insertions(+), 18 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-10-10 02:23:40 pgsql: Revert accidental change to pg_config_manual.h.
Previous Message Tom Lane 2011-10-09 04:21:39 pgsql: Improve index-only scans to avoid repeated access to the index p