Document and clean up gistsplit.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Feb 2013 16:58:23 +0000 (11:58 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Feb 2013 16:58:23 +0000 (11:58 -0500)
commit2f0491dd1a34ea9390910afe532b6c2ca8db3c11
treec2c4f99f56a8e9c3562940636f061c77f5382402
parent3ea1ab283a493815a9f93f6380731b7e0a568be7
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.
src/backend/access/gist/gist.c
src/backend/access/gist/gistsplit.c
src/include/access/gist.h
src/include/access/gist_private.h