summaryrefslogtreecommitdiff
path: root/src/backend/access
diff options
context:
space:
mode:
authorPeter Geoghegan2023-04-19 19:15:15 +0000
committerPeter Geoghegan2023-04-19 19:15:15 +0000
commit2584639653eec13726a25d6ea8a4b42153185723 (patch)
tree6c4a25938b4e96caea5e0956eb0006bc61bb4f4b /src/backend/access
parent50547a3fae0ce62e74c1d2175c7949937f2c69fc (diff)
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.
Diffstat (limited to 'src/backend/access')
-rw-r--r--src/backend/access/rmgrdesc/nbtdesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/rmgrdesc/nbtdesc.c b/src/backend/access/rmgrdesc/nbtdesc.c
index 281a015f563..e4fbaa4d5d5 100644
--- a/src/backend/access/rmgrdesc/nbtdesc.c
+++ b/src/backend/access/rmgrdesc/nbtdesc.c
@@ -106,7 +106,7 @@ btree_desc(StringInfo buf, XLogReaderState *record)
{
xl_btree_newroot *xlrec = (xl_btree_newroot *) rec;
- appendStringInfo(buf, "lev: %u", xlrec->level);
+ appendStringInfo(buf, "level: %u", xlrec->level);
break;
}
case XLOG_BTREE_REUSE_PAGE: