Commit 5fd59002 authored by Peter Geoghegan's avatar Peter Geoghegan

Correct pgstattuple B-Tree page comments.

parent c028faf2
...@@ -430,7 +430,7 @@ pgstat_btree_page(pgstattuple_type *stat, Relation rel, BlockNumber blkno, ...@@ -430,7 +430,7 @@ pgstat_btree_page(pgstattuple_type *stat, Relation rel, BlockNumber blkno,
opaque = (BTPageOpaque) PageGetSpecialPointer(page); opaque = (BTPageOpaque) PageGetSpecialPointer(page);
if (P_IGNORE(opaque)) if (P_IGNORE(opaque))
{ {
/* recyclable page */ /* deleted or half-dead page */
stat->free_space += BLCKSZ; stat->free_space += BLCKSZ;
} }
else if (P_ISLEAF(opaque)) else if (P_ISLEAF(opaque))
...@@ -440,7 +440,7 @@ pgstat_btree_page(pgstattuple_type *stat, Relation rel, BlockNumber blkno, ...@@ -440,7 +440,7 @@ pgstat_btree_page(pgstattuple_type *stat, Relation rel, BlockNumber blkno,
} }
else else
{ {
/* root or node */ /* internal page */
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment