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:
Peter Geoghegan 2023-04-19 12:15:15 -07:00
parent 50547a3fae
commit 2584639653

View File

@ -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: