Document and clean up gistsplit.c.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/gist/gist.c | modified | +1 −7 |
| src/backend/access/gist/gistsplit.c | modified | +288 −154 |
| src/include/access/gist.h | modified | +24 −5 |
| src/include/access/gist_private.h | modified | +7 −6 |