mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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 1c453cfd
.
This commit is contained in:
@@ -106,7 +106,7 @@ btree_desc(StringInfo buf, XLogReaderState *record)
|
|||||||
{
|
{
|
||||||
xl_btree_newroot *xlrec = (xl_btree_newroot *) rec;
|
xl_btree_newroot *xlrec = (xl_btree_newroot *) rec;
|
||||||
|
|
||||||
appendStringInfo(buf, "lev: %u", xlrec->level);
|
appendStringInfo(buf, "level: %u", xlrec->level);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case XLOG_BTREE_REUSE_PAGE:
|
case XLOG_BTREE_REUSE_PAGE:
|
||||||
|
Reference in New Issue
Block a user