pgsql: Document and clean up gistsplit.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Document and clean up gistsplit.c.
Date: 2013-02-10 16:59:12
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Document and clean up gistsplit.c.

Improve comments, rename some variables and functions, slightly simplify
a couple of APIs, in an attempt to make this code readable by people other
than its original author.

Even though this is essentially just cosmetic, back-patch to all active
branches, because otherwise it's going to make back-patching future fixes
in this file very painful.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2f0491dd1a34ea9390910afe532b6c2ca8db3c11

Modified Files
--------------
src/backend/access/gist/gist.c | 8 +-
src/backend/access/gist/gistsplit.c | 439 +++++++++++++++++++++++------------
src/include/access/gist.h | 29 ++-
src/include/access/gist_private.h | 13 +-
4 files changed, 319 insertions(+), 170 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-02-10 17:40:27 pgsql: Remove vestigial secondary-split support in gist_box_picksplit()
Previous Message Tom Lane 2013-02-09 17:18:03 pgsql: Reduce log level of picksplit-doesn't-support-secondary-split wh