Skip to content

Commit 03120e8

Browse files
petergeogheganpull[bot]
authored andcommitted
Use nbtdesc "level" field name consistently.
The "lev" name that appeared in NEWROOT nbtree record desc output was inconsistent with the symbol name from the underlying C struct. It was also inconsistent with nbtdesc output for other nearby record types with similar level fields. Standardize on "level" to make everything consistent. Follow-up to commit 1c453cf.
1 parent 5bcf0bf commit 03120e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/rmgrdesc/nbtdesc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ btree_desc(StringInfo buf, XLogReaderState *record)
106106
{
107107
xl_btree_newroot *xlrec = (xl_btree_newroot *) rec;
108108

109-
appendStringInfo(buf, "lev: %u", xlrec->level);
109+
appendStringInfo(buf, "level: %u", xlrec->level);
110110
break;
111111
}
112112
case XLOG_BTREE_REUSE_PAGE:

0 commit comments

Comments
 (0)