Tweak fillfactor code as per my recent proposal. Fix nbtsort.c so that
Tom Lane <tgl@sss.pgh.pa.us>
Tweak fillfactor code as per my recent proposal. Fix nbtsort.c so that it can handle small fillfactors for ordinary-sized index entries without failing on large ones; fix nbtinsert.c to distinguish leaf and nonleaf pages; change the minimum fillfactor to 10% for all index types.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/create_index.sgml | modified | +4 −4 |
| src/backend/access/gin/ginutil.c | modified | +2 −2 |
| src/backend/access/nbtree/nbtinsert.c | modified | +8 −3 |
| src/backend/access/nbtree/nbtsort.c | modified | +15 −11 |
| src/include/access/gist_private.h | modified | +2 −2 |
| src/include/access/hash.h | modified | +2 −2 |
| src/include/access/nbtree.h | modified | +8 −4 |