diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-04-22 13:02:52 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-04-22 13:02:52 +0300 |
commit | 7d98054f0dd115f57ad0ec1f424a66c13459013b (patch) | |
tree | 2dfdf53b543ae3391615894db322cebfb9c4cfc6 | |
parent | 8d34f6862853b4b67e29b368dfedf7d4c28d694b (diff) | |
download | postgresql-7d98054f0dd115f57ad0ec1f424a66c13459013b.tar.gz postgresql-7d98054f0dd115f57ad0ec1f424a66c13459013b.zip |
Fix rm_desc routine of b-tree page delete records.
A couple of typos from my refactoring of the page deletion patch.
-rw-r--r-- | src/backend/access/rmgrdesc/nbtdesc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/rmgrdesc/nbtdesc.c b/src/backend/access/rmgrdesc/nbtdesc.c index c1b001820b6..89a91a20be1 100644 --- a/src/backend/access/rmgrdesc/nbtdesc.c +++ b/src/backend/access/rmgrdesc/nbtdesc.c @@ -131,7 +131,7 @@ btree_desc(StringInfo buf, uint8 xl_info, char *rec) appendStringInfoString(buf, "mark_page_halfdead: "); out_target(buf, &(xlrec->target)); appendStringInfo(buf, "; downlink %u; leaf %u; left %u; right %u", - xlrec->leafblk, xlrec->leftblk, xlrec->rightblk, xlrec->downlink); + xlrec->downlink, xlrec->leafblk, xlrec->leftblk, xlrec->rightblk); break; } case XLOG_BTREE_UNLINK_PAGE_META: @@ -141,7 +141,7 @@ btree_desc(StringInfo buf, uint8 xl_info, char *rec) appendStringInfo(buf, "unlink_page: rel %u/%u/%u; ", xlrec->node.spcNode, xlrec->node.dbNode, xlrec->node.relNode); - appendStringInfo(buf, "dead %u; left %u; right %u; btpo_xact %u", + appendStringInfo(buf, "dead %u; left %u; right %u; btpo_xact %u; ", xlrec->deadblk, xlrec->leftsib, xlrec->rightsib, xlrec->btpo_xact); appendStringInfo(buf, "leaf %u; leafleft %u; leafright %u; downlink %u", xlrec->leafblk, xlrec->leafleftsib, xlrec->leafrightsib, xlrec->downlink); |