Skip to content

Commit 7d98054

Browse files
committed
Fix rm_desc routine of b-tree page delete records.
A couple of typos from my refactoring of the page deletion patch.
1 parent 8d34f68 commit 7d98054

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/rmgrdesc/nbtdesc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ btree_desc(StringInfo buf, uint8 xl_info, char *rec)
131131
appendStringInfoString(buf, "mark_page_halfdead: ");
132132
out_target(buf, &(xlrec->target));
133133
appendStringInfo(buf, "; downlink %u; leaf %u; left %u; right %u",
134-
xlrec->leafblk, xlrec->leftblk, xlrec->rightblk, xlrec->downlink);
134+
xlrec->downlink, xlrec->leafblk, xlrec->leftblk, xlrec->rightblk);
135135
break;
136136
}
137137
case XLOG_BTREE_UNLINK_PAGE_META:
@@ -141,7 +141,7 @@ btree_desc(StringInfo buf, uint8 xl_info, char *rec)
141141

142142
appendStringInfo(buf, "unlink_page: rel %u/%u/%u; ",
143143
xlrec->node.spcNode, xlrec->node.dbNode, xlrec->node.relNode);
144-
appendStringInfo(buf, "dead %u; left %u; right %u; btpo_xact %u",
144+
appendStringInfo(buf, "dead %u; left %u; right %u; btpo_xact %u; ",
145145
xlrec->deadblk, xlrec->leftsib, xlrec->rightsib, xlrec->btpo_xact);
146146
appendStringInfo(buf, "leaf %u; leafleft %u; leafright %u; downlink %u",
147147
xlrec->leafblk, xlrec->leafleftsib, xlrec->leafrightsib, xlrec->downlink);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy