Обсуждение: pgsql: Refactor the internal GIN B-tree interface for forming a downlin

Поиск
Список
Период
Сортировка

pgsql: Refactor the internal GIN B-tree interface for forming a downlin

От
Heikki Linnakangas
Дата:
Refactor the internal GIN B-tree interface for forming a downlink.

This creates a new gin-btree callback function for creating a downlink for
a page. Previously, ginxlog.c duplicated the logic used during normal
operation.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/501012631e7d2e1c22f60b11ff8cb62ae021625e

Modified Files
--------------
src/backend/access/gin/ginbtree.c     |    1 +
src/backend/access/gin/gindatapage.c  |   17 ++++++++++---
src/backend/access/gin/ginentrypage.c |   43 ++++++++++++++++-----------------
src/backend/access/gin/ginxlog.c      |   15 ++----------
src/include/access/gin_private.h      |    2 +-
5 files changed, 38 insertions(+), 40 deletions(-)