projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c028faf
)
Correct pgstattuple B-Tree page comments.
author
Peter Geoghegan
<
[email protected]
>
Mon, 8 Feb 2021 23:20:08 +0000
(15:20 -0800)
committer
Peter Geoghegan
<
[email protected]
>
Mon, 8 Feb 2021 23:20:08 +0000
(15:20 -0800)
contrib/pgstattuple/pgstattuple.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgstattuple/pgstattuple.c
b/contrib/pgstattuple/pgstattuple.c
index 69179d4104d5cbf9d2b4de0966264421225ba893..21fdeff8afd54cb8d5442b4ca48166288eb58a5e 100644
(file)
--- a/
contrib/pgstattuple/pgstattuple.c
+++ b/
contrib/pgstattuple/pgstattuple.c
@@
-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 nod
e */
+ /*
internal pag
e */
}
}