Remove dedicated B-tree root-split record types.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Remove dedicated B-tree root-split record types. Since commit 40dae7ec53, which changed the way b-tree page splitting works, there has been no difference in the handling of root, and non-root split WAL records. We don't need to distinguish them anymore If you're worried about the loss of debugging information, note that usually a root split record will normally be followed by a WAL record to create the new root page. The root page will also have the BTP_ROOT flag set on the page itself, and there is a pointer to it from the metapage. Author: Aleksander Alekseev Discussion: https://www.postgresql.org/message-id/20170406122116.GA11081@e733.localdomain
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtinsert.c | modified | +1 −7 |
| src/backend/access/nbtree/nbtxlog.c | modified | +3 −9 |
| src/backend/access/rmgrdesc/nbtdesc.c | modified | +0 −8 |
| src/include/access/nbtxlog.h | modified | +1 −2 |
Discussion
- [PATCH] Remove unused argument in btree_xlog_split 6 messages · 2017-03-31 → 2017-08-16