Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d98054

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 parent8d34f68 commit7d98054

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
caseXLOG_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)

[8]ページ先頭

©2009-2025 Movatter.jp