pgsql/src/include/access (nbtree.h) - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/include/access (nbtree.h)
Date
Msg-id 200007210642.e6L6gdp87973@hub.org
Whole thread Raw
List pgsql-committers
  Date: Friday, July 21, 2000 @ 02:42:37
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/include/access
     from hub.org:/home/projects/pgsql/tmp/cvs-serv87931/include/access

Modified Files:
    nbtree.h

-----------------------------  Log Message  -----------------------------

Major overhaul of btree index code.  Eliminate special BTP_CHAIN logic for
duplicate keys by letting search go to the left rather than right when an
equal key is seen at an upper tree level.  Fix poor choice of page split
point (leading to insertion failures) that was forced by chaining logic.
Don't store leftmost key in non-leaf pages, since it's not necessary.
Don't create root page until something is first stored in the index, so an
unused index is now 8K not 16K.  (Doesn't seem to be as easy to get rid of
the metadata page, unfortunately.)  Massive cleanup of unreadable code,
fix poor, obsolete, and just plain wrong documentation and comments.
See src/backend/access/nbtree/README for the gory details.


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/src/backend/storage/page (bufpage.c)
Next
From: Tom Lane
Date:
Subject: pgsql/src/include/storage (bufpage.h)