Correct pgstattuple B-Tree page comments.

This commit is contained in:
Peter Geoghegan 2021-02-08 15:20:08 -08:00
parent c028faf2a6
commit 5fd590021d
1 changed files with 2 additions and 2 deletions

View File

@ -430,7 +430,7 @@ pgstat_btree_page(pgstattuple_type *stat, Relation rel, BlockNumber blkno,
opaque = (BTPageOpaque) PageGetSpecialPointer(page);
if (P_IGNORE(opaque))
{
/* recyclable page */
/* deleted or half-dead page */
stat->free_space += BLCKSZ;
}
else if (P_ISLEAF(opaque))
@ -440,7 +440,7 @@ pgstat_btree_page(pgstattuple_type *stat, Relation rel, BlockNumber blkno,
}
else
{
/* root or node */
/* internal page */
}
}