pgsql: Document and clean up gistsplit.c.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Document and clean up gistsplit.c.
Дата
Msg-id E1U4aFE-0002Uq-3X@gemulon.postgresql.org
обсуждение исходный текст
Список 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_0_STABLE

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

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Document and clean up gistsplit.c.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove vestigial secondary-split support in gist_box_picksplit()