pgsql: Document and clean up gistsplit.c. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Document and clean up gistsplit.c.
Date
Msg-id E1U4aFE-0002Up-3T@gemulon.postgresql.org
Whole thread Raw
List 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_1_STABLE

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

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Reduce log level of picksplit-doesn't-support-secondary-split wh
Next
From: Tom Lane
Date:
Subject: pgsql: Document and clean up gistsplit.c.