Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2584639

Browse files
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 50547a3 commit 2584639

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)